Skip to content

Commit

Permalink
chore(misc): fix e2e message
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Mar 17, 2023
1 parent 2a10cdd commit dcf0735
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions e2e/nx-misc/src/extras.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ describe('Extra Nx Misc Tests', () => {
runCLI(`run ${mylib}:error`);
fail('Should error if process errors');
} catch (e) {
expect(e.stdout.toString()).toContain(
'Something went wrong in run-commands - Command failed: exit 1'
expect(e.stderr.toString()).toContain(
'command "exit 1" exited with non-zero status code'
);
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ async function runSerially(
);
if (!success) {
process.stderr.write(
`Warning: run-commands command "${c}" exited with non-zero status code`
`Warning: run-commands command "${c.command}" exited with non-zero status code`
);
return false;
}
Expand Down

0 comments on commit dcf0735

Please sign in to comment.