From 15ee0081abde4a8b26cd048ead6ee5e3f368e43d Mon Sep 17 00:00:00 2001 From: Doug Keen Date: Tue, 14 Jun 2022 17:03:26 -0700 Subject: [PATCH] fix: default behavior when status is unspecified (#80) (#87) --- src/edits.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/edits.ts b/src/edits.ts index b5e34871..e5ca0bef 100644 --- a/src/edits.ts +++ b/src/edits.ts @@ -145,7 +145,7 @@ async function validateSelectedTrack(appEdit: AppEdit, options: EditOptions): Pr async function addReleasesToTrack(appEdit: AppEdit, options: EditOptions, versionCodes: number[]): Promise { let status: string | undefined = options.status; - if (status == undefined) { + if (!status) { if (options.userFraction != undefined) { status = 'inProgress'; } else {