fix(noninteractive): swap var for const

Christian Rocha created

Change summary

internal/app/app.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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 {