minor fixes
This commit is contained in:
parent
f6be348bf7
commit
1cdd24fbc7
6 changed files with 49 additions and 27 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue