cli rework

This commit is contained in:
Oleksandr Honcharov committed 2024-06-13 22:47:33 +03:00
1 parent 333bd9df13
commit 36c241a117
4 files changed
+79 -43

No files matched your search

+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()),