mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 23:33:13 +09:00
Add more tests and missing return
This commit is contained in:
2 files changed
+284
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user