fis-command-release
Advanced tools
Comparing version 0.5.9 to 0.6.0
{ | ||
"name" : "fis-command-release", | ||
"description" : "fis release command.", | ||
"version" : "0.5.9", | ||
"version" : "0.6.0", | ||
"author" : "FIS Team <fis@baidu.com>", | ||
@@ -6,0 +6,0 @@ "homepage" : "http://fis.baidu.com/", |
@@ -111,6 +111,9 @@ /* | ||
} | ||
var root; | ||
var root, conf, filename = fis.project.conf; | ||
if(options.root){ | ||
root = fis.util.realpath(options.root); | ||
if(fis.util.isDir(root)){ | ||
if(fis.util.isFile(root + '/' + filename)){ | ||
conf = root + '/' + filename; | ||
} | ||
delete options.root; | ||
@@ -123,4 +126,3 @@ } else { | ||
var cwd = root = fis.util.realpath(process.cwd()), | ||
filename = fis.project.conf, | ||
pos = cwd.length, conf; | ||
pos = cwd.length; | ||
do { | ||
@@ -127,0 +129,0 @@ cwd = cwd.substring(0, pos); |
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
12571
249