We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca01f97 commit 05ae30cCopy full SHA for 05ae30c
lib/Local.js
@@ -18,9 +18,6 @@ function Local(){
18
this.doneRegex = /Press Ctrl-C to exit/i;
19
20
this.start = function(options, callback){
21
- if(typeof callback !== 'function')
22
- callback = function(){};
23
-
24
this.userArgs = [];
25
var that = this;
26
this.addArgs(options);
@@ -107,9 +104,6 @@ function Local(){
107
104
};
108
105
109
106
this.stop = function (callback) {
110
111
112
113
if(!this.pid) return callback();
114
this.opcode = 'stop';
115
this.tunnel = childProcess.execFile(this.binaryPath, this.getBinaryArgs(), function(error){
0 commit comments