-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #33 ? #34
Fix #33 ? #34
Conversation
This could still be much better.
This is untested. |
Ah you have a PR - thank you :) will check it out soon |
handler/strings.go
Outdated
@@ -6,7 +6,7 @@ import ( | |||
) | |||
|
|||
var ( | |||
archRe = regexp.MustCompile(`(arm64|arm|386|amd64|32|64)`) | |||
archRe = regexp.MustCompile(`(arm64|arm|386|amd64|32|64|x86_64|aarch64)`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you plz move these to the front? otherwise it'll return "64"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did try it here[1] beforehand it seemed to macht the longest, but I can change regardless.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh interesting, TIL
will test in Go soon and confirm
Just one minor change, otherwise LGTM |
Merged, should go live soon via CI thanks! (heading off to sleep 🤞) |
This could still be much better.