Improve upgrade message (#189)

This commit is contained in:
Chris Zarate
2022-12-13 06:04:28 +01:00
committed by GitHub
parent 3006e4f139
commit ff8d658a2a
+2 -2
View File
@@ -27,11 +27,11 @@ export async function upgradeCommand() {
const newVersion = new TextDecoder().decode(rawVersion).trim(); const newVersion = new TextDecoder().decode(rawVersion).trim();
if (newVersion === version) { if (newVersion === version) {
console.log( console.log(
`Nope. I hate to tell you this, but it looks like we're still running ${newVersion} This was a bit of a futile exercise. Let's try again soon some time.`, `Nope. I hate to tell you this, but it looks like we're still running ${newVersion}. This was a bit of a futile exercise. Let's try again soon some time.`,
); );
} else { } else {
console.log( console.log(
`Congrats, we've upgraded you from ${version} to ${newVersion}. Seems like quite bump, enjoy! https://silverbullet.md/changelog/ may give you more hints on what's new.`, `Congrats, we've upgraded you from ${version} to ${newVersion}. Seems like quite a bump, enjoy! https://silverbullet.md/CHANGELOG may give you more hints on what's new.`,
); );
} }
} }