diff --git a/plugins/package-managers/bazel/src/main/kotlin/Bazel.kt b/plugins/package-managers/bazel/src/main/kotlin/Bazel.kt index 4b24da8d49501..dadc3c1989a03 100644 --- a/plugins/package-managers/bazel/src/main/kotlin/Bazel.kt +++ b/plugins/package-managers/bazel/src/main/kotlin/Bazel.kt @@ -97,6 +97,9 @@ internal object BazelCommand : CommandLineTool { internal object BuildozerCommand : CommandLineTool { override fun command(workingDir: File?) = "buildozer" + + override fun transformVersion(output: String) = + output.lineSequence().first().trim().removePrefix("buildozer version: ") } class Bazel(