You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ./a.coffee aaa
The script to be run begins with a shebang line with more than one
argument. This script will fail on platforms such as Linux which only
allow a single argument.
The shebang line was: '#!/usr/bin/env -S npx coffee --no-header' in file '[...]/a.coffee'
The arguments were: ["-S","npx","coffee","--no-header"]
[ 'coffee', '[...]/a.coffee', 'aaa' ]
Possible Solution
Remove checkShebangLine in coffeescript.coffee as it's no longer necessary.
Context
Linux now allows multiple arguments since coreutils 8.30 (July 1st, 2018), this function can be removed now.
Environment
Debian GNU/Linux 12 (bookworm)
CoffeeScript version: 2.7.0
Node.js version: 18.13.0
The text was updated successfully, but these errors were encountered:
Input Code
a.coffee
: (--no-header
used as proof)Expected Behavior
Current Behavior
Possible Solution
Remove
checkShebangLine
incoffeescript.coffee
as it's no longer necessary.Context
Linux now allows multiple arguments since coreutils 8.30 (July 1st, 2018), this function can be removed now.
Environment
The text was updated successfully, but these errors were encountered: