mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-02-07 07:28:28 -06:00
fix: fix typo
This commit is contained in:
@@ -46,7 +46,7 @@ async function getAndCacheLatestVersion (cached) {
|
||||
if (res.statusCode === 200) {
|
||||
const { version } = res.body
|
||||
if (semver.valid(version) && version !== cached) {
|
||||
saveOptions({ lastestVersion: version, lastChecked: Date.now() })
|
||||
saveOptions({ latestVersion: version, lastChecked: Date.now() })
|
||||
return version
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user