Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
fix: default to exitcode 0 on success
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Sep 1, 2021
1 parent 7810f0e commit f627e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sfCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export abstract class SfCommand<T> extends Command {

protected toSuccessJson(result: T): SfCommand.Json<T> {
return {
status: process.exitCode ?? 1,
status: process.exitCode ?? 0,
result,
};
}
Expand Down

0 comments on commit f627e70

Please sign in to comment.