Update IsNixPlatform to handle "darwin" platform

pull/4/head
Maxim Lobanov 5 years ago committed by GitHub
parent d8c3ce72ee
commit 350e2888aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -81,5 +81,5 @@ function IsNixPlatform {
[String]$Platform
)
return ($Platform -match "macos") -or ($Platform -match "ubuntu") -or ($Platform -match "linux")
}
return ($Platform -match "macos") -or ($Platform -match "darwin") -or ($Platform -match "ubuntu") -or ($Platform -match "linux")
}

Loading…
Cancel
Save