Merge pull request #6018 from electron/string-map
Cleanup code for autoUpdater
This commit is contained in:
commit
8fe5dd22b2
9 changed files with 32 additions and 67 deletions
|
@ -3,8 +3,4 @@ const autoUpdater = process.atomBinding('auto_updater').autoUpdater
|
|||
|
||||
Object.setPrototypeOf(autoUpdater, EventEmitter.prototype)
|
||||
|
||||
autoUpdater.setFeedURL = function (url, headers) {
|
||||
return autoUpdater._setFeedURL(url, headers || {})
|
||||
}
|
||||
|
||||
module.exports = autoUpdater
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue