disable update

This commit is contained in:
Benjamin Pasero
2016-05-18 18:53:00 +02:00
parent 38918ac26a
commit f81c9aefe9

View File

@@ -175,7 +175,7 @@ export class UpdateManager extends EventEmitter implements IUpdateService {
const channel = this.getUpdateChannel();
const feedUrl = this.getUpdateFeedUrl(channel);
if (!feedUrl) {
if (feedUrl || !feedUrl) {
return; // updates not available
}