@plexus-interop/cli
Advanced tools
Comparing version 0.2.6 to 0.2.7
@@ -37,3 +37,3 @@ "use strict"; | ||
javaLibPath = java_1.getJavaGenLibPath(); | ||
return [2 /*return*/, process_1.simpleSpawn(javaExecPath, ['-jar', javaLibPath].concat(this.plexusGenArgs(opts)), opts.verbose === 'true')]; | ||
return [2 /*return*/, process_1.simpleSpawn(javaExecPath, ['-jar', javaLibPath].concat(this.plexusGenArgs(opts)), !!opts.verbose)]; | ||
} | ||
@@ -46,2 +46,2 @@ }); | ||
exports.BaseJavaGenCommand = BaseJavaGenCommand; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQmFzZUphdmFHZW5Db21tYW5kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbW1hbmRzL0Jhc2VKYXZhR2VuQ29tbWFuZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQTs7Ozs7Ozs7Ozs7Ozs7O0dBZUc7QUFDSCw2Q0FBNEM7QUFDNUMsdUNBQW9FO0FBQ3BFLDZDQUFnRDtBQUVoRDtJQUFpRCw4Q0FBVztJQUE1RDs7SUFVQSxDQUFDO0lBTmdCLG1DQUFNLEdBQW5CLFVBQW9CLElBQVM7Ozs7OzRCQUNKLHFCQUFNLHNCQUFlLEVBQUUsRUFBQTs7d0JBQXRDLFlBQVksR0FBRyxTQUF1Qjt3QkFDdEMsV0FBVyxHQUFHLHdCQUFpQixFQUFFLENBQUM7d0JBQ3hDLHNCQUFPLHFCQUFXLENBQUMsWUFBWSxHQUFHLE1BQU0sRUFBRSxXQUFXLFNBQUssSUFBSSxDQUFDLGFBQWEsQ0FBQyxJQUFJLENBQUMsR0FBRyxJQUFJLENBQUMsT0FBTyxLQUFLLE1BQU0sQ0FBQyxFQUFDOzs7O0tBQ2pIO0lBRUwseUJBQUM7QUFBRCxDQUFDLEFBVkQsQ0FBaUQseUJBQVcsR0FVM0Q7QUFWcUIsZ0RBQWtCIn0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQmFzZUphdmFHZW5Db21tYW5kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbW1hbmRzL0Jhc2VKYXZhR2VuQ29tbWFuZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQTs7Ozs7Ozs7Ozs7Ozs7O0dBZUc7QUFDSCw2Q0FBNEM7QUFDNUMsdUNBQW9FO0FBQ3BFLDZDQUFnRDtBQUVoRDtJQUFpRCw4Q0FBVztJQUE1RDs7SUFVQSxDQUFDO0lBTmdCLG1DQUFNLEdBQW5CLFVBQW9CLElBQVM7Ozs7OzRCQUNKLHFCQUFNLHNCQUFlLEVBQUUsRUFBQTs7d0JBQXRDLFlBQVksR0FBRyxTQUF1Qjt3QkFDdEMsV0FBVyxHQUFHLHdCQUFpQixFQUFFLENBQUM7d0JBQ3hDLHNCQUFPLHFCQUFXLENBQUMsWUFBWSxHQUFHLE1BQU0sRUFBRSxXQUFXLFNBQUssSUFBSSxDQUFDLGFBQWEsQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxFQUFDOzs7O0tBQ3hHO0lBRUwseUJBQUM7QUFBRCxDQUFDLEFBVkQsQ0FBaUQseUJBQVcsR0FVM0Q7QUFWcUIsZ0RBQWtCIn0= |
@@ -39,3 +39,3 @@ "use strict"; | ||
if (code !== 0) { | ||
reject(new Error("Child process completed with error code: " + code)); | ||
reject(new Error("Child process completed with error code: " + code + ", please use --verbose flag to see whole output")); | ||
} | ||
@@ -47,2 +47,3 @@ else { | ||
child.on('error', function (error) { | ||
console.error('Process finished with error', error); | ||
reject(error); | ||
@@ -53,2 +54,2 @@ }); | ||
exports.simpleSpawn = simpleSpawn; | ||
//# source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-interop/cli", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"main": "plexus.js", | ||
@@ -5,0 +5,0 @@ "description": "Plexus Interop CLI tools", |
@@ -28,5 +28,5 @@ /** | ||
const javaLibPath = getJavaGenLibPath(); | ||
return simpleSpawn(javaExecPath, ['-jar', javaLibPath, ...this.plexusGenArgs(opts)], opts.verbose === 'true'); | ||
return simpleSpawn(javaExecPath, ['-jar', javaLibPath, ...this.plexusGenArgs(opts)], !!opts.verbose); | ||
} | ||
} |
@@ -36,3 +36,3 @@ /** | ||
if (code !== 0) { | ||
reject(new Error(`Child process completed with error code: ${code}`)); | ||
reject(new Error(`Child process completed with error code: ${code}, please use --verbose flag to see whole output`)); | ||
} else { | ||
@@ -43,2 +43,3 @@ resolve(); | ||
child.on('error', error => { | ||
console.error('Process finished with error', error); | ||
reject(error); | ||
@@ -45,0 +46,0 @@ }); |
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
14760315
3487