Skip to content

Commit

Permalink
fix(cli): update notifier should be shown if current is less than lat…
Browse files Browse the repository at this point in the history
…est (#5798)
  • Loading branch information
semoal authored Nov 4, 2021
1 parent bc99d1e commit cbcaa52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docusaurus/bin/beforeCli.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function ignoreUpdate(update) {
if (
notifier.config &&
notifier.update &&
notifier.update.current !== notifier.update.latest
semver.lt(notifier.update.current, notifier.update.latest)
) {
// Because notifier clears cached data after reading it, leading to notifier not consistently displaying the update
// See https://github.com/yeoman/update-notifier/issues/209
Expand Down

0 comments on commit cbcaa52

Please sign in to comment.