Skip to content

Commit

Permalink
fix(core): apply nxignore after gitignore (#15679)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Mar 15, 2023
1 parent 2e88414 commit 9897cbe
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

1 comment on commit 9897cbe

@vercel
Copy link

@vercel vercel bot commented on 9897cbe Mar 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx-five.vercel.app
nx-dev-nrwl.vercel.app
nx.dev

Please sign in to comment.