Fix: watch input

pull/419/head
Frostebite 2022-08-11 20:42:31 +01:00
parent 7e91f32726
commit 5ed6e400ff
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -714,7 +714,7 @@ class CloudRunnerOptions {
}
static get watchCloudRunnerToEnd() {
const input = CloudRunnerOptions.getInput(`watchToEnd`);
return input && input === 'true';
return !input || input === 'true';
}
static ToEnvVarFormat(input) {
if (input.toUpperCase() === input) {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -160,7 +160,7 @@ class CloudRunnerOptions {
static get watchCloudRunnerToEnd(): boolean {
const input = CloudRunnerOptions.getInput(`watchToEnd`);
return input && input === 'true';
return !input || input === 'true';
}
public static ToEnvVarFormat(input: string) {