We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0254229 commit ebadb18Copy full SHA for ebadb18
cli/src/main/kotlin/com/bazel_diff/di/Modules.kt
@@ -30,9 +30,15 @@ fun hasherModule(
30
keepGoing: Boolean,
31
fineGrainedHashExternalRepos: Set<String>,
32
): Module = module {
33
+ val cmd: MutableList<String> = ArrayList<String>().apply {
34
+ add(bazelPath.toString())
35
+ addAll(startupOptions)
36
+ add("info")
37
+ add("output_base")
38
+ }
39
val result = runBlocking {
40
process(
- bazelPath.toString(), "info", "output_base",
41
+ *cmd.toTypedArray(),
42
stdout = Redirect.CAPTURE,
43
workingDirectory = workingDirectory.toFile(),
44
stderr = Redirect.PRINT,
0 commit comments