denoland / deno

A modern runtime for JavaScript and TypeScript.
https://deno.com
MIT License
98.04k stars 5.39k forks source link

Bug: `shx` glob argument not working #24411

Open marvinhagemeister opened 4 months ago

marvinhagemeister commented 4 months ago
Task prebuild shx rm -rf packages/*/dist/
glob: no matches found '/Users/marvinh/dev/oss/preact-signals/packages/*/dist/'

Steps to reproduce

  1. Clone https://github.com/preactjs/signals
  2. Run pnpm i
  3. Run DENO_FUTURE=1 deno task prebuild

Version: Deno 1.44.4 (git 496ea5903)

marvinhagemeister commented 4 months ago

Same is also true for the test:mocha task:

$ DENO_FUTURE=1 deno task test:mocha
Task test:mocha cross-env COVERAGE=true mocha --require test/node/setup.js --recursive packages/*/test/node/**.test.tsx
glob: no matches found '/Users/marvinh/dev/oss/preact-signals/packages/*/test/node/**.test.tsx'. Pattern syntax error near position 61: recursive wildcards must form a single path component