Fix: watch input
parent
7e91f32726
commit
5ed6e400ff
|
|
@ -714,7 +714,7 @@ class CloudRunnerOptions {
|
||||||
}
|
}
|
||||||
static get watchCloudRunnerToEnd() {
|
static get watchCloudRunnerToEnd() {
|
||||||
const input = CloudRunnerOptions.getInput(`watchToEnd`);
|
const input = CloudRunnerOptions.getInput(`watchToEnd`);
|
||||||
return input && input === 'true';
|
return !input || input === 'true';
|
||||||
}
|
}
|
||||||
static ToEnvVarFormat(input) {
|
static ToEnvVarFormat(input) {
|
||||||
if (input.toUpperCase() === input) {
|
if (input.toUpperCase() === input) {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -160,7 +160,7 @@ class CloudRunnerOptions {
|
||||||
static get watchCloudRunnerToEnd(): boolean {
|
static get watchCloudRunnerToEnd(): boolean {
|
||||||
const input = CloudRunnerOptions.getInput(`watchToEnd`);
|
const input = CloudRunnerOptions.getInput(`watchToEnd`);
|
||||||
|
|
||||||
return input && input === 'true';
|
return !input || input === 'true';
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ToEnvVarFormat(input: string) {
|
public static ToEnvVarFormat(input: string) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue