Skip to content

Commit 9fd038d

Browse files
committed
fix lint
1 parent 3b043c9 commit 9fd038d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

go/cmd/bundler/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ func fetchCLIVersionFromRepo(sdkVersion string) (string, error) {
229229
// isHex returns true if s contains only hexadecimal characters.
230230
func isHex(s string) bool {
231231
for _, c := range s {
232-
if !((c >= '0' && c <= '9') || (c >= 'a' && c <= 'f') || (c >= 'A' && c <= 'F')) {
232+
if (c < '0' || c > '9') && (c < 'a' || c > 'f') && (c < 'A' || c > 'F') {
233233
return false
234234
}
235235
}

0 commit comments

Comments
 (0)