Skip to content
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

Do not set $IsWindows #50

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alex737876
Copy link

Since PS 6.0 it is not allowed to set $IsWindows.

@alex737876 alex737876 changed the title Fix #49 Do not set $IsWindows Mar 10, 2020
@alex737876
Copy link
Author

alex737876 commented Mar 10, 2020

solves #49 (How to link an issue? i am new to git :) excuse me )

Since ($null -or $Env:OS.StartsWith('Windows')) will also return true with PS Version < 6.0, this should work. Tested on my system.

Should consider a squash merge, as i had to remove some blanks with a 2nd commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant