Skip to content

Commit

Permalink
chore: fix excluded files in copyright checker tool (#672)
Browse files Browse the repository at this point in the history
the walk function passes the absolute path, not the relative one
  • Loading branch information
inverted-capital authored Feb 23, 2024
1 parent 1d2e61c commit 241bcfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/check_license.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ for await (
const { path } of walk(ROOT, {
exts: EXTENSIONS,
skip: [
...EXCLUDED_DIRS.map((path) => globToRegExp(path)),
...EXCLUDED_DIRS.map((path) => globToRegExp(ROOT.pathname + path)),
new RegExp("fresh.gen.ts"),
],
includeDirs: false,
Expand Down

0 comments on commit 241bcfa

Please sign in to comment.