From 142821385a330c4b83e383c9842bb868127844ce Mon Sep 17 00:00:00 2001 From: Tomasz Pasternak Date: Thu, 5 Dec 2024 12:22:13 +0100 Subject: [PATCH] fix: Sync failure after non-fatal bazel failure (#7119) --- .../com/google/idea/blaze/base/buildview/BazelExecService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/com/google/idea/blaze/base/buildview/BazelExecService.kt b/base/src/com/google/idea/blaze/base/buildview/BazelExecService.kt index f458ad1f1b4..850f5be1bc4 100644 --- a/base/src/com/google/idea/blaze/base/buildview/BazelExecService.kt +++ b/base/src/com/google/idea/blaze/base/buildview/BazelExecService.kt @@ -175,7 +175,7 @@ class BazelExecService(private val project: Project) : Disposable { parseJob.cancelAndJoin() - if (result.status != BuildResult.Status.SUCCESS) { + if (result.status == BuildResult.Status.FATAL_ERROR) { BlazeBuildOutputs.noOutputs(result) } else { BlazeBuildOutputs.fromParsedBepOutput(result, provider.getBuildOutput())