Skip to content

Commit 2a1c8fa

Browse files
Negatable keep going (Tinder#283)
* Negatable keep going Trying to fix --no-keep_going does not work Tinder#282 Signed-off-by: Maxwell Elliott <maxwell.elliott@gotinder.com> * syntax Signed-off-by: Maxwell Elliott <maxwell.elliott@gotinder.com> --------- Signed-off-by: Maxwell Elliott <maxwell.elliott@gotinder.com>
1 parent 8ea96d6 commit 2a1c8fa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cli/src/main/kotlin/com/bazel_diff/cli/GenerateHashesCommand.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,13 @@ class GenerateHashesCommand : Callable<Int> {
127127
@CommandLine.Option(
128128
names = ["-k", "--keep_going"],
129129
negatable = true,
130+
defaultValue = "true",
131+
fallbackValue = "true",
130132
description =
131133
[
132134
"This flag controls if `bazel query` will be executed with the `--keep_going` flag or not. Disabling this flag allows you to catch configuration issues in your Bazel graph, but may not work for some Bazel setups. Defaults to `true`"],
133135
scope = CommandLine.ScopeType.INHERIT)
134-
var keepGoing = true
136+
var keepGoing = false
135137

136138
@CommandLine.Option(
137139
names = ["-s", "--seed-filepaths"],

0 commit comments

Comments
 (0)