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
When using the NODE_OPTIONS env there is no way to quote arguments passed. This is problematic if you pass flags like -r where the path passed might have spaces in them.
To reproduce try saving this file as ./test case.js
console.log('hi')
Running node -r './test case.js' node prints hi, but running NODE_OPTIONS="-r './test case.js'" node results in an error.
The text was updated successfully, but these errors were encountered:
When using the NODE_OPTIONS env there is no way to quote arguments passed. This is problematic if you pass flags like
-r
where the path passed might have spaces in them.To reproduce try saving this file as
./test case.js
Running
node -r './test case.js' node
printshi
, but runningNODE_OPTIONS="-r './test case.js'" node
results in an error.The text was updated successfully, but these errors were encountered: