-
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Ignore directories when checking files (#2680)
The following would cause an error when there was a subdirectory. ```sh ls -1 | cspell "**" --cache ```
- Loading branch information
Showing
6 changed files
with
151 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
import { operators } from '@cspell/cspell-pipe'; | ||
|
||
export { | ||
toAsyncIterable as mergeAsyncIterables, | ||
helpers as asyncHelpers, | ||
operators as asyncOperators, | ||
pipeAsync as asyncPipe, | ||
toArray as asyncIterableToArray, | ||
opMap as asyncMap, | ||
toAsyncIterable as mergeAsyncIterables, | ||
} from '@cspell/cspell-pipe'; | ||
|
||
export const { | ||
opMapAsync: asyncMap, | ||
opFilterAsync: asyncFilter, | ||
opAwaitAsync: asyncAwait, | ||
opFlattenAsync: asyncFlatten, | ||
} = operators; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters