Skip to content

Commit 3f98763

Browse files
feat: Additional Bazel Command Logging (#190)
* save * save * cleanup
1 parent 5492e34 commit 3f98763

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cli/src/main/kotlin/com/bazel_diff/bazel/BazelQueryService.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ class BazelQueryService(
6565
outputFile.deleteOnExit()
6666

6767
queryFile.writeText(query)
68-
logger.i { "Executing Query: $query" }
6968

7069
val cmd: MutableList<String> = ArrayList<String>().apply {
7170
add(bazelPath.toString())
@@ -128,6 +127,8 @@ class BazelQueryService(
128127
add(queryFile.toString())
129128
}
130129

130+
logger.i { "Executing Query: $query" }
131+
logger.i { "Command: ${cmd.toTypedArray().joinToString()}" }
131132
val result = runBlocking {
132133
process(
133134
*cmd.toTypedArray(),

0 commit comments

Comments
 (0)