Skip to content

Commit

Permalink
fix(core): apply nxignore after gitignore (#15679)
Browse files Browse the repository at this point in the history
(cherry picked from commit 9897cbe)
  • Loading branch information
AgentEnder authored and FrozenPandaz committed Mar 15, 2023
1 parent 2b97817 commit 996a690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nx/src/utils/ignore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function getIgnoredGlobs(
root: string = workspaceRoot,
prependRoot: boolean = true
) {
const files = ['.nxignore', '.gitignore'];
const files = ['.gitignore', '.nxignore'];
if (prependRoot) {
return [
...getAlwaysIgnore(root),
Expand Down

0 comments on commit 996a690

Please sign in to comment.