-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for shebang containing spaces like asdf's node does (#2182)
* Add support for shebang containing spaces like asdf's node does * Add support for shebang containing spaces like asdf's node does * fix * Return original shebang including whitespace. - Handle whitespace between magic and path. - Don't skip BOM at the start because scripts with a BOM before the shebang don't work anyways. - Don't handle `#![` specially because the os also doesn't. - Remove now unused whitespace module. - Shebang whitespace tests. --------- Co-authored-by: t4lz <[email protected]>
- Loading branch information
Showing
3 changed files
with
53 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add support for shebang containing spaces like asdf's node does |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.