Fix warning spam when androidAppBundle isn't defined
parent
5b986000bb
commit
4cf7914f3b
|
|
@ -6612,8 +6612,14 @@ class Input {
|
|||
return Input.getInput('androidVersionCode') || '';
|
||||
}
|
||||
static get androidAppBundle() {
|
||||
core.warning('androidAppBundle is deprecated, please use androidExportType instead');
|
||||
const input = Input.getInput('androidAppBundle') || false;
|
||||
// Only throw warning if defined
|
||||
let input = Input.getInput('androidAppBundle');
|
||||
if (input !== undefined) {
|
||||
core.warning('androidAppBundle is deprecated, please use androidExportType instead');
|
||||
}
|
||||
else {
|
||||
input = 'false';
|
||||
}
|
||||
return input === 'true';
|
||||
}
|
||||
static get androidExportType() {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -143,8 +143,13 @@ class Input {
|
|||
}
|
||||
|
||||
static get androidAppBundle(): boolean {
|
||||
core.warning('androidAppBundle is deprecated, please use androidExportType instead');
|
||||
const input = Input.getInput('androidAppBundle') || false;
|
||||
// Only throw warning if defined
|
||||
let input = Input.getInput('androidAppBundle');
|
||||
if (input !== undefined) {
|
||||
core.warning('androidAppBundle is deprecated, please use androidExportType instead');
|
||||
} else {
|
||||
input = 'false';
|
||||
}
|
||||
|
||||
return input === 'true';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue