cli rework
This commit is contained in:
1 parent
333bd9df13
commit
36c241a117
4 files changed
+79
-43
No files matched your search
@@ -18,7 +18,7 @@ export async function checkForUpdate(): Promise<void> {
|
||||
.then(({ data }) => {
|
||||
const latestVersion = data[0].name
|
||||
|
||||
if (!(latestVersion === version))
|
||||
if (latestVersion !== `v${version}`)
|
||||
notifyUserAboutUpdate(latestVersion)
|
||||
})
|
||||
.then(() => res()),
|
||||
|
||||
Reference in new issue
Block a user