Dollar sign get removed from process.argv on transpilation #1875
OlivierCuyp
started this conversation in
General
Replies: 1 comment 1 reply
-
Converted to discussion because this is probably not a ts-node issue. We've received a ton of issues that are caused by all the moving parts outside of ts-node's control, for example: npm, npx, the shim script that is created by npm / npx, your shell, etc. If you're using 3 things at once, then you don't really know which one is causing the problem. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Search Terms
process.argv script argument dollar sign $
Expected Behavior
Keep
$
in process.argv when it correctly passed to script argument.Actual Behavior
When creating a script that takes arguments, and if an argument is passed with a
$
, it disappear from it in process.argv.Steps to reproduce the problem
$
Minimal reproduction
dollar.ts:
execution (in bash terminal):
In pure JS, there is no issue with the same script:
Specifications
Beta Was this translation helpful? Give feedback.
All reactions