Fix defaults (#510)

* Fix defaults

* Use '' as default for androidExportType
This commit is contained in:
AndrewKahr
2023-02-19 20:23:37 -08:00
committed by GitHub
parent f58ac29d5b
commit 7f2782d3ed
4 changed files with 10 additions and 10 deletions

View File

@@ -142,10 +142,10 @@ class Input {
static get androidExportType() {
// TODO: remove this in V3
const exportType = Input.getInput('androidExportType');
const exportType = Input.getInput('androidExportType') || '';
if (exportType) {
return exportType || 'androidPackage';
if (exportType !== '') {
return exportType;
}
return Input.androidAppBundle ? 'androidAppBundle' : 'androidPackage';