-
-
Notifications
You must be signed in to change notification settings - Fork 8
(bug) (types) Workaround for mas account
failing on macOS >= 12
#43
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
Conversation
mas account
failing on macOS >= 12mas account
failing on macOS >= 12
b5d105f
to
e650dc5
Compare
That is a good point 😂 I'll add something in here: Looks like a simple thing to add |
Huh. Well okay then 😂
|
I think you will probably need to mock |
Huh.
Okay now I don't know why it's failing... or not failing when it's supposed to fail |
I think it is to do with your less than/greater than code — I don't think Bash is clever enough to do it like that when it isn't a pure integer. Maybe try this instead of your current line 20 in if [ "$?" -gt 0 ]; then
release=$(get_baking_platform_release)
str_matches "$release" "^21\." || return $STATUS_FAILED_PRECONDITION
fi |
Yeah, that could be it. I was doing the following to check
|
Woo! |
That'll do nicely! Thanks very much. |
…w also include macOS 13 Addition to borksh#43 Very obviously super hacky... but it's a quick and dirty GOOD ENOUGH for now...
…w also include macOS 13 Addition to borksh#43 Very obviously super hacky... but it's a quick and dirty GOOD ENOUGH for now...
Closes #42