mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
e81b2ff6c5
Fixes #24612 - Update `fast-glob` to `1.1.0` which exposes `validate()` api - Use it in `oxc_config`, apps will be validated through `deserialize` - Oxfmt supports globs for CLI paths, also validated
427 B
427 B
Input
Command
oxfmt --check src/*.{js,ts
File tree
- fixtures/ <CWD>
- lib/
- util.js
- src/
- {d}.js
- a.js
- b.js
- c.ts
Result
Exit code
1
stdout
Checking formatting...
stderr
Invalid glob pattern `src/*.{js,ts`: unclosed brace expansion at byte 6; missing '}' (to match a literal '{', escape it as '/{' or '[{]')
File changes
No changes