Skip to content

Commit

Permalink
fix(package-rules): replacement recommendation for matchPackagePrefix…
Browse files Browse the repository at this point in the history
…es and excludePackagePrefixes (#29262)
  • Loading branch information
TWiStErRob committed May 26, 2024
1 parent 3110afc commit e521f7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/util/package-rules/package-prefixes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class PackagePrefixesMatcher extends Matcher {
if (matchPackagePrefixes.some((prefix) => depName.startsWith(prefix))) {
logger.once.warn(
{ packageRule, packageName, depName },
'Use matchDepPatterns instead of matchPackagePrefixes',
'Use matchDepPrefixes instead of matchPackagePrefixes',
);
return true;
}
Expand Down Expand Up @@ -55,7 +55,7 @@ export class PackagePrefixesMatcher extends Matcher {
if (excludePackagePrefixes.some((prefix) => depName.startsWith(prefix))) {
logger.once.warn(
{ packageRule, packageName, depName },
'Use excludeDepPatterns instead of excludePackagePrefixes',
'Use excludeDepPrefixes instead of excludePackagePrefixes',
);
return true;
}
Expand Down

0 comments on commit e521f7f

Please sign in to comment.