rman 0.19.0 → 0.20.0
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.
|
@@ -53,15 +53,9 @@ class RunCommand extends multi_task_command_js_1.MultiTaskCommand {
|
|
|
53
53
|
const json = { ...args.json };
|
|
54
54
|
json.scripts = json.scripts || {};
|
|
55
55
|
json.scripts[this.script] = json.scripts[this.script] || '#';
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
scriptInfo = (0, parse_npm_script_1.default)(json, 'npm run ' + this.script);
|
|
59
|
-
if (!(scriptInfo && scriptInfo.raw))
|
|
60
|
-
return;
|
|
61
|
-
}
|
|
62
|
-
catch {
|
|
56
|
+
const scriptInfo = (0, parse_npm_script_1.default)(json, 'npm run ' + this.script);
|
|
57
|
+
if (!(scriptInfo && scriptInfo.raw))
|
|
63
58
|
return;
|
|
64
|
-
}
|
|
65
59
|
const children = [];
|
|
66
60
|
for (const s of scriptInfo.steps) {
|
|
67
61
|
const parsed = Array.isArray(s.parsed) ? s.parsed : [s.parsed];
|
|
@@ -47,15 +47,9 @@ export class RunCommand extends MultiTaskCommand {
|
|
|
47
47
|
const json = { ...args.json };
|
|
48
48
|
json.scripts = json.scripts || {};
|
|
49
49
|
json.scripts[this.script] = json.scripts[this.script] || '#';
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
scriptInfo = parseNpmScript(json, 'npm run ' + this.script);
|
|
53
|
-
if (!(scriptInfo && scriptInfo.raw))
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
catch {
|
|
50
|
+
const scriptInfo = parseNpmScript(json, 'npm run ' + this.script);
|
|
51
|
+
if (!(scriptInfo && scriptInfo.raw))
|
|
57
52
|
return;
|
|
58
|
-
}
|
|
59
53
|
const children = [];
|
|
60
54
|
for (const s of scriptInfo.steps) {
|
|
61
55
|
const parsed = Array.isArray(s.parsed) ? s.parsed : [s.parsed];
|