diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-05-23 19:35:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-23 17:35:12 +0000 |
commit | 3d865949c2f9f0cb61031bcc2b9e81a4ca623109 (patch) | |
tree | 7efab61647b22dd0458c0d64921f85164ac9b94a /ext/node/polyfills/02_init.js | |
parent | 86081052089edbcc2ef2a76ea950ae58f46066b3 (diff) |
fix: better error message for malformed glob (#19225)
Before:
```
$ cargo run -- test "foo/*******/bar.ts"
error: Pattern syntax error near position 6: wildcards are either regular `*` or recursive `**`
```
After:
```
$ cargo run -- test "foo/*******/bar.ts"
error: Failed to expand glob: "foo/*******/bar.ts"
Caused by:
Pattern syntax error near position 6: wildcards are either regular `*` or recursive `**`
```
---------
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
Diffstat (limited to 'ext/node/polyfills/02_init.js')
0 files changed, 0 insertions, 0 deletions