prevent assignment to constant variable (url)

This commit is contained in:
Paul P 2016-01-26 14:44:46 +00:00
parent 2c7717d98e
commit 864449db89

View file

@ -45,8 +45,7 @@ class AutoUpdater extends EventEmitter {
// Following information is not available on Windows, so fake them.
date = new Date;
url = _this.updateURL;
return _this.emit('update-downloaded', {}, releaseNotes, version, date, url, function() {
return _this.emit('update-downloaded', {}, releaseNotes, version, date, _this.updateURL, function() {
return _this.quitAndInstall();
});
});