From 204516edd5ba109bea876c020c2ef1ff3ae21f15 Mon Sep 17 00:00:00 2001 From: Fabian Meumertzheim Date: Thu, 14 Sep 2023 13:35:05 +0200 Subject: [PATCH] fix: replace remaining usage of `versions.get()` Signed-off-by: Fabian Meumertzheim --- internal/graalvm_bindist.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/graalvm_bindist.bzl b/internal/graalvm_bindist.bzl index ff48d4fb..24ec6738 100644 --- a/internal/graalvm_bindist.bzl +++ b/internal/graalvm_bindist.bzl @@ -736,7 +736,7 @@ def graalvm_repository( # if we're running on Bazel before 7, we need to omit the bootstrap toolchain, because # it doesn't yet exist in Bazel's internals. bootstrap_runtime_toolchain = "" - if versions.is_at_least("7", versions.get()): + if versions.is_at_least("7", _get_bazel_version()): bootstrap_runtime_toolchain = """ toolchain( name = "bootstrap_runtime_toolchain",