mirror of
https://github.com/sst/opencode.git
synced 2025-08-31 10:17:26 +00:00
fix type error
This commit is contained in:
parent
90d6c4ab41
commit
73d54c7068
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ export const RunCommand = cmd({
|
|||
UI.println(UI.Style.TEXT_INFO_BOLD + "~ https://opencode.ai/s/" + session.id.slice(-8))
|
||||
} catch (error) {
|
||||
if (error instanceof Error && error.message.includes("disabled")) {
|
||||
UI.println(UI.Style.TEXT_ERROR_BOLD + "! " + error.message)
|
||||
UI.println(UI.Style.TEXT_DANGER_BOLD + "! " + error.message)
|
||||
} else {
|
||||
throw error
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue