mirror of
https://github.com/sst/opencode.git
synced 2025-08-04 13:30:52 +00:00
chore: rename coder -> primary
This commit is contained in:
parent
c9b90dd184
commit
36e5ae804e
18 changed files with 56 additions and 55 deletions
|
@ -86,7 +86,7 @@ to assist developers in writing, debugging, and understanding code directly from
|
|||
|
||||
app, err := app.New(ctx, conn)
|
||||
if err != nil {
|
||||
slog.Error("Failed to create app: %v", err)
|
||||
slog.Error("Failed to create app", "error", err)
|
||||
return err
|
||||
}
|
||||
|
||||
|
@ -152,11 +152,11 @@ to assist developers in writing, debugging, and understanding code directly from
|
|||
cleanup()
|
||||
|
||||
if err != nil {
|
||||
slog.Error("TUI error: %v", err)
|
||||
slog.Error("TUI error", "error", err)
|
||||
return fmt.Errorf("TUI error: %v", err)
|
||||
}
|
||||
|
||||
slog.Info("TUI exited with result: %v", result)
|
||||
slog.Info("TUI exited", "result", result)
|
||||
return nil
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue