diff options
author | Nayeem Rahman <muhammed.9939@gmail.com> | 2019-10-02 18:59:27 +0100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-10-02 13:59:27 -0400 |
commit | 2f90225c89926932a34eb40758e2af0d1742e1f8 (patch) | |
tree | 21466759c5a9ff26cff1397736fc6a10ff9880fd /format.ts | |
parent | aca225330521840d63835bb1ba27ce13a7f65093 (diff) |
Implement expandGlob() and expandGlobSync() (denoland/deno_std#617)
fs/glob.ts:
- Improve prototypes for expandGlob() and expandGlobSync() from denoland/deno_std#604.
- Rename glob() to globToRegExp().
- Add normalizeGlob() and joinGlobs().
- Extract GlobToRegExpOptions from GlobOptions, remove the strict
and filepath options.
fs/globrex.ts:
- Add GlobrexOptions.
fs/path/constants.ts:
- Add SEP_PATTERN.
fs/walk.ts:
- Add WalkOptions::includeFiles
- Default WalkOptions::includeDirs to true.
- Don't traverse directories matching a skip pattern.
- Remove walkSync()'s default root value.
prettier:
- Refactor to use expandGlob().
testing:
- Make findTestModules() an async generator.
Original: https://github.com/denoland/deno_std/commit/8c90bd9d0b1c78b023d36462ffaa9446ef22490c
Diffstat (limited to 'format.ts')
-rwxr-xr-x | format.ts | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -14,9 +14,9 @@ async function main(opts): Promise<void> { "--ignore", "node_modules", "--ignore", - "testdata", + "**/testdata", "--ignore", - "vendor", + "**/vendor", "--write" ]; |