mirror of
https://github.com/electron/electron.git
synced 2026-01-26 07:48:08 -05:00
prevent assignment to constant variable (url)
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user