Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
avdv authored and mergify[bot] committed May 30, 2022
1 parent 9e7905e commit b8ef079
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/util.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

0 comments on commit b8ef079

Please sign in to comment.