prevent assignment to constant variable (url)
This commit is contained in:
parent
2c7717d98e
commit
864449db89
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue