Do not add JS wrapper for setFeedURL
When possible we should avoid adding wrappers in JS, it usually makes code more difficult to mantain
This commit is contained in:
parent
e2442fb052
commit
a3786f66c9
4 changed files with 10 additions and 6 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