Skip to content

Commit

Permalink
fix(core): do not replace @nrwl mentions in excluded files anywhere i…
Browse files Browse the repository at this point in the history
…n the workspace
  • Loading branch information
FrozenPandaz committed Apr 25, 2023
1 parent b374bd3 commit 636f6de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/devkit/src/utils/replace-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function replaceMentions(
'pnpm-lock.yaml',
'CHANGELOG.md',
];
if (ignoredFiles.includes(path)) {
if (ignoredFiles.includes(basename(path))) {
return;
}

Expand Down

0 comments on commit 636f6de

Please sign in to comment.