fis-command-release
Advanced tools
Comparing version 0.8.6 to 0.8.7
{ | ||
"name" : "fis-command-release", | ||
"description" : "fis release command.", | ||
"version" : "0.8.6", | ||
"version" : "0.8.7", | ||
"author" : "FIS Team <fis@baidu.com>", | ||
@@ -6,0 +6,0 @@ "homepage" : "http://fis.baidu.com/", |
@@ -22,2 +22,2 @@ # fis-command-release | ||
-u, --unique use unique compile caching | ||
--debug debug mode | ||
--verbose enable verbose output |
@@ -78,3 +78,3 @@ /* | ||
opt.beforeEach = function(){ | ||
flag = opt.debug ? '' : '.'; | ||
flag = opt.verbose ? '' : '.'; | ||
cost = (new Date).getTime(); | ||
@@ -111,3 +111,3 @@ }; | ||
process.stdout.write( | ||
(opt.debug ? '' : ' ') + | ||
(opt.verbose ? '' : ' ') + | ||
(Date.now() - start + 'ms').bold.green + '\n' | ||
@@ -131,3 +131,3 @@ ); | ||
process.stdout.write('\u0007'); | ||
} else if(opt.debug) { | ||
} else if(opt.verbose) { | ||
throw e; | ||
@@ -153,3 +153,3 @@ } else { | ||
.option('-u, --unique', 'use unique compile caching', Boolean, false) | ||
.option('--debug', 'debug mode', Boolean, false) | ||
.option('--verbose', 'enable verbose output', Boolean, false) | ||
.action(function(){ | ||
@@ -162,3 +162,3 @@ | ||
//configure log | ||
if(options.debug){ | ||
if(options.verbose){ | ||
fis.log.level = fis.log.L_ALL; | ||
@@ -165,0 +165,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51902