From 89797d2f7af52c9dc0aae6d6e7dc40a9b15b3ccb Mon Sep 17 00:00:00 2001 From: Miroslav Jonas Date: Tue, 6 Feb 2024 11:32:17 +0100 Subject: [PATCH] fix(core): remove implementation detail from warning (cherry picked from commit 18efd620036add2b11ec6f5cfdadf19e21923256) --- packages/nx/src/executors/run-commands/run-commands.impl.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/nx/src/executors/run-commands/run-commands.impl.ts b/packages/nx/src/executors/run-commands/run-commands.impl.ts index a9a2900935d25..e1e7b4d5c4cac 100644 --- a/packages/nx/src/executors/run-commands/run-commands.impl.ts +++ b/packages/nx/src/executors/run-commands/run-commands.impl.ts @@ -136,7 +136,7 @@ async function runInParallel( const r = await Promise.race(procs); if (!r.result) { process.stderr.write( - `Warning: run-commands command "${r.command}" exited with non-zero status code` + `Warning: command "${r.command}" exited with non-zero status code` ); return false; } else { @@ -148,7 +148,7 @@ async function runInParallel( if (failed.length > 0) { failed.forEach((f) => { process.stderr.write( - `Warning: run-commands command "${f.command}" exited with non-zero status code` + `Warning: command "${f.command}" exited with non-zero status code` ); }); return false; @@ -200,7 +200,7 @@ async function runSerially( ); if (!success) { process.stderr.write( - `Warning: run-commands command "${c.command}" exited with non-zero status code` + `Warning: command "${c.command}" exited with non-zero status code` ); return false; }