From f627e70b4f90cc649756930e8c992e517c757eb6 Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Wed, 1 Sep 2021 12:41:20 -0600 Subject: [PATCH] fix: default to exitcode 0 on success --- src/sfCommand.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sfCommand.ts b/src/sfCommand.ts index cd16379..8283777 100644 --- a/src/sfCommand.ts +++ b/src/sfCommand.ts @@ -28,7 +28,7 @@ export abstract class SfCommand extends Command { protected toSuccessJson(result: T): SfCommand.Json { return { - status: process.exitCode ?? 1, + status: process.exitCode ?? 0, result, }; }