We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, thank you for a great lib 🤘
I'm facing a problem related to environment variables expansion on Windows and Linux (Github Actions)
I use env-cmd in package.json scripts.
env-cmd
package.json
.env
VAR=Hello World
{ "name": "env-cmd-bug", "version": "1.0.0", "main": "index.js", "license": "MIT", "scripts": { "unescaped": "env-cmd -x --verbose echo $VAR", "escaped": "env-cmd -x --verbose echo \\$VAR" }, "dependencies": { "env-cmd": "^10.1.0" } }
Escaping the $ sign works for Linux, but fails on Windows.
$
Outputs:
Ubuntu
Windows
The text was updated successfully, but these errors were encountered:
{{VAR}}
Successfully merging a pull request may close this issue.
Hello, thank you for a great lib 🤘
I'm facing a problem related to environment variables expansion on Windows and Linux (Github Actions)
I use
env-cmd
inpackage.json
scripts..env
package.json
Escaping the
$
sign works for Linux, but fails on Windows.Outputs:
Ubuntu
Windows
The text was updated successfully, but these errors were encountered: