mirror of
https://github.com/electron/electron.git
synced 2026-01-25 23:38:18 -05:00
Merge pull request #6584 from electron/fix-ci
Do not throw exception when channel name is "error"
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
const EventEmitter = require('events').EventEmitter
|
||||
|
||||
module.exports = new EventEmitter()
|
||||
|
||||
// Do not throw exception when channel name is "error".
|
||||
module.exports.on('error', () => {})
|
||||
|
||||
Reference in New Issue
Block a user