Skip to content

Commit

Permalink
fix: improper regex
Browse files Browse the repository at this point in the history
...making edits on github :/
  • Loading branch information
jpoehnelt committed Mar 30, 2022
1 parent a0bd1cd commit aa6bf3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parse.ts
Expand Up @@ -54,7 +54,7 @@ export const treeToTreeMap = (

export const parse = (
directory: string,
exclude = /node_modules\/|\.git\/|\.DS_Store|\.idea\/|\.vscode\/)/
exclude = /(node_modules\/|\.git\/|\.DS_Store|\.idea\/|\.vscode\/)/
): DirectoryTreeMap => {
const attributes = ["size" as const, "type" as const, "extension" as const];

Expand Down

0 comments on commit aa6bf3c

Please sign in to comment.