diff --git a/src/apps.js b/src/apps.js index 9b9460cc0..38e65afae 100644 --- a/src/apps.js +++ b/src/apps.js @@ -1743,7 +1743,7 @@ function exec(appId, options, callback) { } function canAutoupdateApp(app, newManifest) { - if (!app.enableAutomaticUpdate) return false;); + if (!app.enableAutomaticUpdate) return false; if ((semver.major(app.manifest.version) !== 0) && (semver.major(app.manifest.version) !== semver.major(newManifest.version))) return false; // major changes are blocking const newTcpPorts = newManifest.tcpPorts || { };