From 4e43cef53119365136fe848a718befd2493031ea Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Sat, 1 Nov 2025 22:07:32 -0400 Subject: [PATCH] fix(noninteractive): swap var for const --- internal/app/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/app/app.go b/internal/app/app.go index a801f70a5feccac655209ac5c36deaae7e38592b..811a496f177d6cf9e7f8cace5cbc3c3d9e44fa07 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -125,7 +125,7 @@ func (app *App) RunNonInteractive(ctx context.Context, prompt string, quiet bool defer stopSpinner() const maxPromptLengthForTitle = 100 - titlePrefix := "Non-interactive: " + const titlePrefix = "Non-interactive: " var titleSuffix string if len(prompt) > maxPromptLengthForTitle {