minor fixes

This commit is contained in:
Kujtim Hoxha
2025-04-15 11:58:01 +02:00
parent f6be348bf7
commit 1cdd24fbc7
6 changed files with 49 additions and 27 deletions

View File

@@ -48,9 +48,10 @@ func New(ctx context.Context, conn *sql.DB) (*App, error) {
LSPClients: make(map[string]*lsp.Client),
}
app.initLSPClients(ctx)
var err error
app.CoderAgent, err = agent.NewCoderAgent(
app.Permissions,
app.Sessions,
app.Messages,
@@ -61,8 +62,6 @@ func New(ctx context.Context, conn *sql.DB) (*App, error) {
return nil, err
}
app.initLSPClients(ctx)
return app, nil
}