chore: fix more typos (#1863)

Christian Rocha created

Change summary

internal/agent/agent_test.go     | 2 +-
internal/agent/hyper/provider.go | 2 +-
internal/app/lsp.go              | 2 +-
internal/update/update.go        | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)

Detailed changes

internal/agent/agent_test.go 🔗

@@ -456,7 +456,7 @@ func TestCoderAgent(t *testing.T) {
 			})
 			t.Run("sourcegraph tool", func(t *testing.T) {
 				if runtime.GOOS == "darwin" {
-					t.Skip("skipping flacky test on macos for now")
+					t.Skip("skipping flakey test on macos for now")
 				}
 
 				agent, env := setupAgent(t, pair)

internal/agent/hyper/provider.go 🔗

@@ -326,5 +326,5 @@ func retryAfter(resp *http.Response) string {
 		d := time.Duration(after) * time.Second
 		return "Try again in " + d.String()
 	}
-	return "Try again in later"
+	return "Try again later"
 }

internal/app/lsp.go 🔗

@@ -67,7 +67,7 @@ func (app *App) createAndStartLSPClient(ctx context.Context, name string, config
 		lspClient.SetServerState(lsp.StateError)
 		updateLSPState(name, lsp.StateError, err, lspClient, 0)
 	} else {
-		// Server reached a ready state scuccessfully.
+		// Server reached a ready state successfully.
 		slog.Debug("LSP server is ready", "name", name)
 		lspClient.SetServerState(lsp.StateReady)
 		updateLSPState(name, lsp.StateReady, nil, lspClient, 0)

internal/update/update.go 🔗

@@ -106,7 +106,7 @@ func (c *github) Latest(ctx context.Context) (*Release, error) {
 
 	if resp.StatusCode != http.StatusOK {
 		body, _ := io.ReadAll(resp.Body)
-		return nil, fmt.Errorf("github api returned status %d: %s", resp.StatusCode, string(body))
+		return nil, fmt.Errorf("GitHub API returned status %d: %s", resp.StatusCode, string(body))
 	}
 
 	var release Release