-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Expected Behavior
when running a command below expect that the command it echo the hostname.
await $`echo ${process.env.HOSTNAME}`
Actual Behavior
Error: No quote function is defined: https://ï.at/no-quote-func
at Proxy.quote (file:///usr/local/lib/node_modules/zx/build/core.js:38:15)
at Proxy.set (file:///usr/local/lib/node_modules/zx/build/core.js:74:19)
at file:///entrypoint.mjs:1:8
at ModuleJob.run (node:internal/modules/esm/module_job:198:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:385:24)
at async importPath (file:///usr/local/lib/node_modules/zx/build/cli.js:164:5)
at async main (file:///usr/local/lib/node_modules/zx/build/cli.js:95:5)
If i go to the prev version of zx 7.0.8 everything works
Steps to Reproduce the Problem
- when you run zx on an linux alpine image
- created a small docker sample you can do by run
docker run geoffreysamper/zx-alpine-issue
the git repo for the sample is https://github.com/geoffreysamper/zx-issue-no-quote
Specifications
- Version: zx 7.1.0
- Platform: alpine
Metadata
Metadata
Assignees
Labels
No labels