Skip to content

Commit

Permalink
fix: default exactVersionsOnlyWarnsFor
Browse files Browse the repository at this point in the history
  • Loading branch information
christophehurpeau committed Mar 12, 2022
1 parent 5e98305 commit f3a5a34
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index-node14.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index-node14.cjs.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/check-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ export function createCheckPackage(
'Ignoring "exactVersionsOnlyWarnsFor" as "onlyWarnsForInPackage" is used.',
);
}
exactVersionsOnlyWarnsFor = onlyWarnsForInPackage.exactVersions || {};
exactVersionsOnlyWarnsFor = onlyWarnsForInPackage.exactVersions || [];
}
if (onlyWarnsForInDependencies) {
if (peerDependenciesOnlyWarnsFor) {
Expand Down

0 comments on commit f3a5a34

Please sign in to comment.