Add more tests and missing return

This commit is contained in:
Cooldude2606 committed 2026-02-05 15:43:28 +00:00
1 parent b4338a209c
commit 372c1bffe1
2 files changed
+284

No files matched your search

+1
View File
@@ -995,6 +995,7 @@ export class FactorioServer extends events.EventEmitter<FactorioServerEvents> {
// Can't download if not linux or this is a direct install
if (installedVersions.direct || process.platform !== "linux") {
this._logger.info(`A newer version of factorio is available (${v}) but must be manually downloaded`);
return;
}
// Download the newer version