remove event.js

This commit is contained in:
Pierce 2019-05-22 20:35:45 -04:00
parent e5afd60ba3
commit 1a5d290cc8
2 changed files with 1 additions and 8 deletions

View file

@ -1,7 +0,0 @@
const event = new (require('events')).EventEmitter();
event.on('newListener', event => {
if(event === 'start') {
process.emitWarning('The \'start\' event has been removed. Use \'data\' instead.', 'DeprecationWarning');
}
});
module.exports = event;