cli rework

This commit is contained in:
Oleksandr Honcharov
2024-06-13 22:47:33 +03:00
parent 333bd9df13
commit 36c241a117
4 changed files with 79 additions and 43 deletions
+1 -1
View File
@@ -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()),