-
Notifications
You must be signed in to change notification settings - Fork 126
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
Os type check seems wrong #356
Comments
Sorry for inconvenience. Could you submit a PR to the 4.1 branch? |
@holgerbrandl Sure |
bugfix: issue #356 - fix ostype comparison Co-authored-by: holgerbrandl@gmail.com <holgerbrandl@users.noreply.github.com> Co-authored-by: Aleksandr Kolodiazhnyi <akolodyazhni@Aleksandrs-MBP.localdomain>
I have backported it also to the master branch. In fact, I think that Mac is reporting OSTYPE incorrectly - it should contain only single information about the type of OS, not a specific version or any additional information. Maybe we can wait a bit if something pops up, and if not - do another bugfix release. |
Should be fixed in 4.0.3 - please reopen if the problem persists... |
Hi Holger,
It seems that comparison of current os should be changed from
equals
tocontains
:Cause on version 4.0.2 I get the error
[kscript] [ERROR] Unsupported OS: darwin21
because 'darwin' in your enum != 'darwin21'On version 4.0.0 all is good
The text was updated successfully, but these errors were encountered: