qcobjects-cli
Advanced tools
Comparing version 0.1.6 to 0.1.7
{ | ||
"name": "qcobjects-cli", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "qcobjects cli command line tool", | ||
@@ -5,0 +5,0 @@ "main": "qcobjects-cli.js", |
@@ -29,2 +29,12 @@ #!/usr/bin/env node | ||
global.set('backendAvailable',true); | ||
if (typeof CONFIG.get('basePath') != 'undefined'){ | ||
logger.debug(`Changing the current directory: ${process.cwd()}`); | ||
try { | ||
process.chdir(CONFIG.get('basePath')); | ||
logger.debug(`New directory: ${process.cwd()}`); | ||
} catch (err) { | ||
logger.warn(`It was impossible to change the current chdir: ${err}`); | ||
} | ||
} | ||
} | ||
@@ -34,3 +44,2 @@ }catch (e){ | ||
} | ||
require(absolutePath+'/org.quickcorp.qcobjects.main.http2.server.js'); | ||
@@ -37,0 +46,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
41979
879