From 64b3ae229188452d6c159ca50150716983e66bbd Mon Sep 17 00:00:00 2001 From: Maxwell Elliott Date: Mon, 29 Jul 2024 10:47:58 -0400 Subject: [PATCH] more updates --- .../main/kotlin/com/bazel_diff/bazel/BazelQueryService.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cli/src/main/kotlin/com/bazel_diff/bazel/BazelQueryService.kt b/cli/src/main/kotlin/com/bazel_diff/bazel/BazelQueryService.kt index 6594b85..80a99dd 100644 --- a/cli/src/main/kotlin/com/bazel_diff/bazel/BazelQueryService.kt +++ b/cli/src/main/kotlin/com/bazel_diff/bazel/BazelQueryService.kt @@ -26,8 +26,7 @@ class BazelQueryService( suspend fun query( query: String, - useCquery: Boolean = false, - supressFailure: Boolean = false) + useCquery: Boolean = false : List { // 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 @@ -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()