pm2-deploy
Advanced tools
Comparing version 0.1.2 to 0.2.0
@@ -14,3 +14,3 @@ var fs = require('fs'); | ||
function spawn(hostJSON, args, cb) { | ||
var shellSyntaxCommand = "echo '" + hostJSON + "' | " + __dirname + "/deploy " + args.join(' '); | ||
var shellSyntaxCommand = "echo '" + hostJSON + "' | " + __dirname.replace(/\\/g, '/') + "/deploy " + args.join(' '); | ||
var proc = childProcess.spawn('sh', ['-c', shellSyntaxCommand], { stdio: 'inherit' }); | ||
@@ -58,3 +58,3 @@ | ||
if (process.env.NODE_ENV !== 'test') { | ||
console.log('--> on host %s', host); | ||
console.log('--> on host %s', host.host ? host.host : host); | ||
} | ||
@@ -61,0 +61,0 @@ |
{ | ||
"name": "pm2-deploy", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"description": "Deployment system for PM2", | ||
"main": "deploy.js", | ||
"repository": { | ||
"type" : "git", | ||
"url" : "https://github.com/Unitech/pm2-deploy.git" | ||
}, | ||
"scripts": { | ||
@@ -19,3 +23,3 @@ "test": "mocha" | ||
"author": "Alexandre Strzelewicz", | ||
"license": "AGPLV3" | ||
"license": "MIT" | ||
} |
Sorry, the diff of this file is not supported yet
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
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
20309
12
0
100
4