implemetation of AtomCommandline to preserve args

This commit is contained in:
deepak1556 2015-03-17 18:25:53 +05:30 committed by Robo
parent 8aae7c4440
commit 399f47ef0f
12 changed files with 104 additions and 59 deletions

View file

@ -33,7 +33,7 @@ ipc.on('echo', function(event, msg) {
event.returnValue = msg;
});
if (process.argv[1] == '--ci') {
if (process.argv[2] == '--ci') {
process.removeAllListeners('uncaughtException');
process.on('uncaughtException', function(error) {
console.error(error, error.stack);