Skip to content

Commit

Permalink
more updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tinder-maxwellelliott committed Jul 29, 2024
1 parent 9d5d57d commit 64b3ae2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cli/src/main/kotlin/com/bazel_diff/bazel/BazelQueryService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ class BazelQueryService(

suspend fun query(
query: String,
useCquery: Boolean = false,
supressFailure: Boolean = false)
useCquery: Boolean = false
: List<Build.Target> {
// Unfortunately, there is still no direct way to tell if a target is compatible or not with the proto output
// by itself. So we do an extra cquery with the trick at
Expand Down Expand Up @@ -65,8 +64,7 @@ class BazelQueryService(
private suspend fun runQuery(
query: String,
useCquery: Boolean,
outputCompatibleTargets: Boolean = false,
supressFailure: Boolean = false
outputCompatibleTargets: Boolean = false
): File {
val queryFile = Files.createTempFile(null, ".txt").toFile()
queryFile.deleteOnExit()
Expand Down

0 comments on commit 64b3ae2

Please sign in to comment.