Skip to content

Commit

Permalink
feat: Additional Bazel Command Logging (#190)
Browse files Browse the repository at this point in the history
* save

* save

* cleanup
  • Loading branch information
nikhilbirmiwal authored Aug 31, 2023
1 parent 5492e34 commit 3f98763
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ class BazelQueryService(
outputFile.deleteOnExit()

queryFile.writeText(query)
logger.i { "Executing Query: $query" }

val cmd: MutableList<String> = ArrayList<String>().apply {
add(bazelPath.toString())
Expand Down Expand Up @@ -128,6 +127,8 @@ class BazelQueryService(
add(queryFile.toString())
}

logger.i { "Executing Query: $query" }
logger.i { "Command: ${cmd.toTypedArray().joinToString()}" }
val result = runBlocking {
process(
*cmd.toTypedArray(),
Expand Down

0 comments on commit 3f98763

Please sign in to comment.