Skip to content

Commit

Permalink
Support Go version schema change since 1.21 (#3891)
Browse files Browse the repository at this point in the history
  • Loading branch information
baizhenyu committed Mar 15, 2024
1 parent 7538c54 commit 364c118
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions go/private/sdk.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -685,8 +685,6 @@ def _version_less(a, b):

def _version_string(v):
suffix = v[3] if _version_is_prerelease(v) else ""
if v[-1] == 0:
v = v[:-1]
return ".".join([str(n) for n in v]) + suffix

def _have_same_length(*lists):
Expand Down

0 comments on commit 364c118

Please sign in to comment.