Skip to content

Commit

Permalink
fix(core): fast find in files ignore needs to start with ./
Browse files Browse the repository at this point in the history
  • Loading branch information
EladBezalel committed Oct 24, 2023
1 parent 33e493d commit 8dffd16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/core/src/true-affected.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const trueAffected = async ({
({ filePath }) => project.getSourceFile(resolve(cwd, filePath)) != null
);

const ignoredPaths = ['node_modules', 'dist', '.git'];
const ignoredPaths = ['./node_modules', './dist', './.git'];

const nonSourceChangedFiles: GetChangedFiles[] = getChangedFiles({
base,
Expand Down

0 comments on commit 8dffd16

Please sign in to comment.