Skip to content

Commit 89797d2

Browse files
meeroslavFrozenPandaz
authored andcommitted
fix(core): remove implementation detail from warning
(cherry picked from commit 18efd62)
1 parent b0506c9 commit 89797d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/nx/src/executors/run-commands/run-commands.impl.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ async function runInParallel(
136136
const r = await Promise.race(procs);
137137
if (!r.result) {
138138
process.stderr.write(
139-
`Warning: run-commands command "${r.command}" exited with non-zero status code`
139+
`Warning: command "${r.command}" exited with non-zero status code`
140140
);
141141
return false;
142142
} else {
@@ -148,7 +148,7 @@ async function runInParallel(
148148
if (failed.length > 0) {
149149
failed.forEach((f) => {
150150
process.stderr.write(
151-
`Warning: run-commands command "${f.command}" exited with non-zero status code`
151+
`Warning: command "${f.command}" exited with non-zero status code`
152152
);
153153
});
154154
return false;
@@ -200,7 +200,7 @@ async function runSerially(
200200
);
201201
if (!success) {
202202
process.stderr.write(
203-
`Warning: run-commands command "${c.command}" exited with non-zero status code`
203+
`Warning: command "${c.command}" exited with non-zero status code`
204204
);
205205
return false;
206206
}

0 commit comments

Comments
 (0)