Skip to content

Commit

Permalink
Add missing space between error and exit code (#4696)
Browse files Browse the repository at this point in the history
Fixes current output of `"Command terminated with non-zero exit code1"` to `"Command terminated with non-zero exit code 1"`

Co-authored-by: Bryan Kendall <[email protected]>
  • Loading branch information
Apexal and bkendall committed Jul 8, 2022
1 parent 64e04f5 commit b908476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deploy/lifecycleHooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function runCommand(command: string, childOptions: childProcess.SpawnOptions) {
if (signal) {
reject(new Error("Command terminated with signal " + signal));
} else if (code !== 0) {
reject(new Error("Command terminated with non-zero exit code" + code));
reject(new Error("Command terminated with non-zero exit code " + code));
} else {
resolve();
}
Expand Down

0 comments on commit b908476

Please sign in to comment.