fix input format affected by installing vscode extension
publish / publish (push) Has been cancelled

This commit is contained in:
Frank
2025-07-27 11:56:18 -04:00
parent 27a079d9cb
commit 9741a6703c
2 changed files with 33 additions and 37 deletions
+3 -7
View File
@@ -123,19 +123,15 @@ export const TuiCommand = cmd({
const method = await Installation.method()
if (method === "unknown") return
await Installation.upgrade(method, latest)
.then(() => {
Bus.publish(Installation.Event.Updated, { version: latest })
})
.then(() => Bus.publish(Installation.Event.Updated, { version: latest }))
.catch(() => {})
})()
;(async () => {
if (Ide.alreadyInstalled()) return
const ide = await Ide.ide()
const ide = Ide.ide()
if (ide === "unknown") return
await Ide.install(ide)
.then(() => {
Bus.publish(Ide.Event.Installed, { ide })
})
.then(() => Bus.publish(Ide.Event.Installed, { ide }))
.catch(() => {})
})()