Skip to content

Commit

Permalink
Make --ignoreFiles test the full path, with file extension (#301)
Browse files Browse the repository at this point in the history
Co-authored-by: Walker Burgin <[email protected]>
  • Loading branch information
wburgin-anduril and walkerburgin authored May 24, 2024
1 parent 2de1973 commit d825da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analyzer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ const filterFiles = (
});
};

return files.filter((f) => !shouldIgnoreFile(f.path));
return files.filter((f) => !shouldIgnoreFile(f.fullPath));
};

const areEqual = (files1: string[], files2: string[]): boolean => {
Expand Down

0 comments on commit d825da1

Please sign in to comment.