Skip to content

Commit 2795de8

Browse files
committed
builtin completion
1 parent d44dfb2 commit 2795de8

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

app/ExternalCommand.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,6 @@ class ExternalCommand extends Command {
4545
stderr += output;
4646
this.outputHandler.writeError(output, true);
4747
});
48-
49-
child.on('error', (err) => {
50-
reject(err);
51-
});
52-
53-
child.on('close', (code) => {
54-
console.log('error', {stderr, stdout});
55-
if (code === 0) {
56-
resolve({ stdout, stderr });
57-
} else {
58-
reject(new Error(`Command exited with code ${code}`));
59-
}
60-
});
6148
});
6249
}
6350
}

0 commit comments

Comments
 (0)