ci: version stuff
This commit is contained in:
parent
4c464cf4c0
commit
289783f627
1 changed files with 19 additions and 19 deletions
|
|
@ -157,7 +157,7 @@ export const TuiCommand = cmd({
|
|||
|
||||
;(async () => {
|
||||
if (Installation.isDev()) return
|
||||
if (Installation.isSnapshot()) return
|
||||
if (Installation.isPreview()) return
|
||||
const config = await Config.global()
|
||||
if (config.autoupdate === false || Flag.OPENCODE_DISABLE_AUTOUPDATE) return
|
||||
const latest = await Installation.latest().catch(() => {})
|
||||
|
|
|
|||
Loading…
Reference in a new issue