fis-command-release
Advanced tools
Comparing version 0.6.7 to 0.6.8
{ | ||
"name" : "fis-command-release", | ||
"description" : "fis release command.", | ||
"version" : "0.6.7", | ||
"version" : "0.6.8", | ||
"author" : "FIS Team <fis@baidu.com>", | ||
@@ -6,0 +6,0 @@ "homepage" : "http://fis.baidu.com/", |
@@ -102,7 +102,8 @@ /* | ||
} catch(e) { | ||
process.stdout.write('\n [ERROR] ' + (e.message || e) + '\u0007\n'); | ||
if(!opt.watch){ | ||
if(opt.debug){ | ||
throw e; | ||
} | ||
process.stdout.write('\n [ERROR] ' + (e.message || e) + '\n'); | ||
if(opt.watch){ | ||
process.stdout.write('\u0007'); | ||
} else if(opt.debug) { | ||
throw e; | ||
} else { | ||
process.exit(1); | ||
@@ -109,0 +110,0 @@ } |
13457
276