mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
remove EE + __proto__
This commit is contained in:
parent
70310a3f22
commit
d5ea4a0a8d
@ -5,7 +5,6 @@
|
||||
*/
|
||||
|
||||
var debug = require('debug')('pm2:client');
|
||||
var EventEmitter = require('events').EventEmitter;
|
||||
var Common = require('./Common.js');
|
||||
var KMDaemon = require('./Interactor/InteractorDaemonizer.js');
|
||||
var rpc = require('pm2-axon-rpc');
|
||||
@ -42,8 +41,6 @@ var Client = module.exports = function(opts) {
|
||||
this.pub_socket_file = this.conf.DAEMON_PUB_PORT;
|
||||
}
|
||||
|
||||
Client.prototype.__proto__ = EventEmitter.prototype;
|
||||
|
||||
// @breaking change (noDaemonMode has been drop)
|
||||
// @todo ret err
|
||||
Client.prototype.start = function(cb) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user