rman 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -71,6 +71,7 @@ class RunCommand extends multi_task_command_1.MultiTaskCommand {
|
|
|
71
71
|
const r = await (0, exec_1.exec)(command, options);
|
|
72
72
|
if (r.error) {
|
|
73
73
|
npmlog_1.default.error(this.commandName, chalk_1.default.gray(figures_1.default.lineVerticalDashed0), pkg.name, chalk_1.default.gray(figures_1.default.lineVerticalDashed0), chalk_1.default.red.bold('failed'), chalk_1.default.gray(figures_1.default.lineVerticalDashed0), command, chalk_1.default.gray(figures_1.default.lineVerticalDashed0), r.error.message.trim());
|
|
74
|
+
npmlog_1.default.verbose(this.commandName, chalk_1.default.gray(figures_1.default.lineVerticalDashed0), r.stderr || r.stdout);
|
|
74
75
|
}
|
|
75
76
|
else
|
|
76
77
|
npmlog_1.default.info(this.commandName, chalk_1.default.gray(figures_1.default.lineVerticalDashed0), pkg.name, chalk_1.default.gray(figures_1.default.lineVerticalDashed0), chalk_1.default.green.bold('success'), chalk_1.default.gray(figures_1.default.lineVerticalDashed0), command, chalk_1.default.gray(figures_1.default.lineVerticalDashed0), 'Completed in ' + chalk_1.default.yellow('' + (Date.now() - t) + ' ms'));
|
|
@@ -65,6 +65,7 @@ export class RunCommand extends MultiTaskCommand {
|
|
|
65
65
|
const r = await exec(command, options);
|
|
66
66
|
if (r.error) {
|
|
67
67
|
logger.error(this.commandName, chalk.gray(figures.lineVerticalDashed0), pkg.name, chalk.gray(figures.lineVerticalDashed0), chalk.red.bold('failed'), chalk.gray(figures.lineVerticalDashed0), command, chalk.gray(figures.lineVerticalDashed0), r.error.message.trim());
|
|
68
|
+
logger.verbose(this.commandName, chalk.gray(figures.lineVerticalDashed0), r.stderr || r.stdout);
|
|
68
69
|
}
|
|
69
70
|
else
|
|
70
71
|
logger.info(this.commandName, chalk.gray(figures.lineVerticalDashed0), pkg.name, chalk.gray(figures.lineVerticalDashed0), chalk.green.bold('success'), chalk.gray(figures.lineVerticalDashed0), command, chalk.gray(figures.lineVerticalDashed0), 'Completed in ' + chalk.yellow('' + (Date.now() - t) + ' ms'));
|