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

fix: properly invoke isWsl as a function #22

Merged
merged 2 commits into from Apr 25, 2022
Merged

fix: properly invoke isWsl as a function #22

merged 2 commits into from Apr 25, 2022

Conversation

Aareksio
Copy link
Contributor

@Aareksio Aareksio commented Apr 22, 2022

Hopefully fixes nuxt/nuxt#13770

I think there was a mistake when inlining is-wsl 3c2948f, isWsl in inlined version is a function, thus isWsl == true. Also a leftover copy paste typo.

@pi0
Copy link
Member

pi0 commented Apr 25, 2022

Thanks for the pull request and fix @Aareksio 💚

@pi0 pi0 merged commit 2951376 into unjs:main Apr 25, 2022
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.

[uncaughtException] spawn /mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe ENOENT
2 participants