boom-deploy
Advanced tools
Comparing version 0.2.72 to 0.2.73
var _ = require('lodash'); | ||
var os = require('os'); | ||
var fs = require('fs'); | ||
@@ -17,3 +18,3 @@ var path = require('path'); | ||
dir : path.resolve(process.cwd(), './boom'), | ||
userdir : path.resolve(process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME'], '.boom'), | ||
userdir : path.resolve(os.homedir(), '.boom'), | ||
@@ -20,0 +21,0 @@ main : 'common', |
var _ = require('lodash'); | ||
var os = require('os'); | ||
var qs = require('querystring'); | ||
@@ -50,3 +51,3 @@ var path = require('path'); | ||
logger.info($.bold('Executing: cmd localy') + '\n' + $.lightmagenta(hidePass(cmd))); | ||
logger.info($.bold('CMD ' + $.blue(process.env['USER'] + '@' + os.hostname())) + '\n' + $.lightmagenta(hidePass(cmd))); | ||
@@ -60,3 +61,3 @@ return fiber.sync(spawnProcess.local.bind(spawnProcess, cmd)); | ||
logger.info($.bold('Executing: ssh ' + $.blue(config.get('user') + '@' + config.get('server'))) + '\n' + $.yellow(hidePass(cmd))); | ||
logger.info($.bold('SSH ' + $.blue(config.get('user') + '@' + config.get('server'))) + '\n' + $.yellow(hidePass(cmd))); | ||
@@ -79,3 +80,3 @@ return fiber.sync(spawnProcess.ssh.bind(spawnProcess, cmd)); | ||
logger.info($.bold('Executing: sudo ' + $.blue(config.get('user') + '@' + config.get('server'))) + '\n' + $.yellow(cmd)); | ||
logger.info($.bold('SUDO ' + $.blue(config.get('user') + '@' + config.get('server'))) + '\n' + $.yellow(cmd)); | ||
@@ -99,3 +100,3 @@ return fiber.sync(spawnProcess.ssh.bind(spawnProcess, 'cat ' + config.sudoPath + ' | sudo -S ' + cmd)); | ||
if (config.get('debug')) logger.info($.bold('Executing: js') + '\n' + $.green(funcstring)); | ||
if (config.get('debug')) logger.info($.bold('JS') + '\n' + $.green(funcstring)); | ||
@@ -102,0 +103,0 @@ return fiber.sync(boom.executors.js.bind(null, funcstring, args)); |
{ | ||
"name": "boom-deploy", | ||
"main": "boom.js", | ||
"version": "0.2.72", | ||
"version": "0.2.73", | ||
"description": "deploy your app", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
88959
2473