fix: default behavior when status is unspecified (#80) (#87)

This commit is contained in:
Doug Keen
2022-06-14 17:03:26 -07:00
committed by GitHub
parent 8c2ebfdb6e
commit 15ee0081ab

View File

@@ -145,7 +145,7 @@ async function validateSelectedTrack(appEdit: AppEdit, options: EditOptions): Pr
async function addReleasesToTrack(appEdit: AppEdit, options: EditOptions, versionCodes: number[]): Promise<Track> {
let status: string | undefined = options.status;
if (status == undefined) {
if (!status) {
if (options.userFraction != undefined) {
status = 'inProgress';
} else {