Scripts: Stop using shebangs to prevent issues with Windows environments #32504
Labels
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
Needs Dev
Ready for, and needs developer efforts
[Type] Build Tooling
Issues or PRs related to build tooling
[Type] Code Quality
Issues or PRs that relate to code quality
What problem does this address?
Related issue: #32258.
Related comment in #31279 (comment) by @mcsf:
On Windows when running a script that uses shebangs you will encounter the following error message:
What is your proposed solution?
Related comment by @mcsf in #31279 (comment):
The task is to find all scripts that use shebang like:
gutenberg/bin/plugin/cli.js
Line 1 in 8bc2494
and check if they work correctly with Windows. Some might work like:
gutenberg/packages/create-block/index.js
Line 1 in 8bc2494
because they are linked in the
bin
folder innode_modules
:gutenberg/packages/create-block/package.json
Lines 30 to 32 in 8bc2494
@mcsf, how do we decide? 😄
The text was updated successfully, but these errors were encountered: