fis-command-server
Advanced tools
Comparing version 0.6.9 to 0.6.10
@@ -41,2 +41,3 @@ /** | ||
var isWin = fis.util.isWin(); | ||
if (isWin) { | ||
@@ -71,2 +72,11 @@ list = spawn('tasklist'); | ||
}); | ||
list.on('error', function (e) { | ||
if (isWin) { | ||
fis.log.error('fail to execute `tasklist` command, please add your system path (eg: C:\\Windows\\system32, you should replace `C` with your system disk) in %PATH%'); | ||
} else { | ||
fis.log.error('fail to execute `ps` command.'); | ||
} | ||
}); | ||
} else { | ||
@@ -121,3 +131,3 @@ if (callback) { | ||
//node | ||
startNode(); | ||
startNode(opt); | ||
} else { | ||
@@ -124,0 +134,0 @@ checkPHPEnable(opt, function(php, opt) { |
@@ -5,2 +5,3 @@ var _ = module.exports; | ||
_.open = function(path, callback) { | ||
if (!path) return; | ||
var child_process = require('child_process'); | ||
@@ -76,2 +77,2 @@ fis.log.notice('browse ' + path.yellow.bold + '\n'); | ||
return fis.project.getTempPath('server/pid'); | ||
}; | ||
}; |
{ | ||
"name" : "fis-command-server", | ||
"description" : "fis server command.", | ||
"version" : "0.6.9", | ||
"version" : "0.6.10", | ||
"author" : "FIS Team <fis@baidu.com>", | ||
@@ -6,0 +6,0 @@ "homepage" : "http://fis.baidu.com/", |
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
NPM Shrinkwrap
Supply chain riskPackage contains a shrinkwrap file. This may allow the package to bypass normal install procedures.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
5027913
18
934
9
1