Skip to content

Commit

Permalink
fix: replace remaining usage of versions.get()
Browse files Browse the repository at this point in the history
Signed-off-by: Fabian Meumertzheim <fabian@meumertzhe.im>
  • Loading branch information
fmeum authored and sgammon committed Sep 14, 2023
1 parent f83e23d commit 204516e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/graalvm_bindist.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 204516e

Please sign in to comment.