Skip to content

Commit

Permalink
fix: Fix outdated deep dependency log visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed May 23, 2024
1 parent 071a8ae commit c15345f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/install-maintained-package/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const optionalChaining = require("es5-ext/optional-chaining")
, resolveExternalContext = require("../resolve-external-context")
, removeNonDirectDependencies = require("../remove-non-direct-dependencies")
, resolveMaintainedPackagePath = require("../resolve-maintained-package-path")
, resolveLogLevel = require("../utils/resolve-log-level")
, finalize = require("./finalize");

module.exports = async (packageContext, userConfiguration, inputOptions, progressData) => {
Expand Down Expand Up @@ -59,7 +60,7 @@ module.exports = async (packageContext, userConfiguration, inputOptions, progres
packageContext.externalContext.latestVersion &&
packageContext.externalContext.latestVersion !== packageContext.packageJson.version
) {
log.notice(
log[resolveLogLevel(packageContext, progressData)](
"%s is at %s version which doesn't reflect %s latest version", name,
packageContext.packageJson.version, packageContext.externalContext.latestVersion
);
Expand Down

0 comments on commit c15345f

Please sign in to comment.