Fix boolean logic (#129)

This commit is contained in:
Benoit Dion
2020-08-10 10:30:06 -04:00
committed by GitHub
parent e003f9e2ca
commit 1f8d196ed0
5 changed files with 13 additions and 13 deletions

View File

@@ -46,9 +46,9 @@ class Input {
}
static get androidAppBundle() {
const input = core.getInput('androidAppBundle') || 'false';
const input = core.getInput('androidAppBundle') || false;
return input === 'true' ? 'true' : 'false';
return input === 'true';
}
static get androidKeystoreName() {
@@ -72,9 +72,9 @@ class Input {
}
static get allowDirtyBuild() {
const input = core.getInput('allowDirtyBuild') || 'false';
const input = core.getInput('allowDirtyBuild') || false;
return input === 'true' ? 'true' : 'false';
return input === 'true';
}
static get customParameters() {