-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
Use /usr/bin/env sh instead of direct path #1020
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1020 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 19 19
Lines 641 641
Branches 146 146
=========================================
Hits 641 641 Continue to review full report at Codecov.
|
Thanks for your contribution! Had no idea about it was incorrect :) Tests seem to confirm that too. |
Thanks @okonet ! : ) |
The |
I decided for |
🎉 This PR is included in version 11.1.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 11.2.0-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 11.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
related - same change for husky: typicode/husky#1051 |
This ensures the shell scripts work across different UNIX operating system: https://en.wikipedia.org/wiki/Shebang_(Unix)#Program_location
For example, I'm using NixOS and unfortunately
sh
is not located at/bin/sh