We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1b8519 commit 813680eCopy full SHA for 813680e
packages/@vue/cli/lib/util/getVersions.js
@@ -45,6 +45,11 @@ module.exports = async function getVersions () {
45
latest = cached
46
}
47
48
+ // if the installed version is updated but the cache doesn't update
49
+ if (semver.gt(local, latest) && !semver.prerelease(local)) {
50
+ latest = local
51
+ }
52
+
53
let latestMinor = `${semver.major(latest)}.${semver.minor(latest)}.0`
54
if (
55
// if the latest version contains breaking changes
0 commit comments