From b8ef079fae6176756445feea293ba06ef7de3d4e Mon Sep 17 00:00:00 2001 From: Claudio Bley Date: Mon, 30 May 2022 16:42:14 +0200 Subject: [PATCH] Fix typo --- core/util.bzl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/util.bzl b/core/util.bzl index cd3f1f9b6..00ff02b27 100644 --- a/core/util.bzl +++ b/core/util.bzl @@ -296,20 +296,20 @@ def is_bazel_version_at_least(threshold): threshold: string: minimum desired version of Bazel Returns: - treshold_met, from_source_version: bool, bool: tuple where + threshold_met, from_source_version: bool, bool: tuple where first item states if the treshold was met, the second indicates if obtained bazel version is empty string (indicating from source build) """ - treshold_met = False + threshold_met = False from_source_version = False bazel_version = versions.get() if not bazel_version: from_source_version = True else: - treshold_met = versions.is_at_least(threshold, bazel_version) + threshold_met = versions.is_at_least(threshold, bazel_version) return ( - treshold_met, + threshold_met, from_source_version, )