From c46099c5d71436a6f7503a4008bf763abe2a580a Mon Sep 17 00:00:00 2001 From: Tsln Date: Mon, 15 Dec 2025 15:53:25 +0800 Subject: [PATCH] fix(kiro): remove the extra quotation marks from the protocol handler --- internal/auth/kiro/protocol_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/auth/kiro/protocol_handler.go b/internal/auth/kiro/protocol_handler.go index e07cc24d..d900ee33 100644 --- a/internal/auth/kiro/protocol_handler.go +++ b/internal/auth/kiro/protocol_handler.go @@ -471,7 +471,7 @@ foreach ($port in $ports) { // Create batch wrapper batchPath := filepath.Join(scriptDir, "kiro-oauth-handler.bat") - batchContent := fmt.Sprintf("@echo off\npowershell -ExecutionPolicy Bypass -File \"%s\" \"%%1\"\n", scriptPath) + batchContent := fmt.Sprintf("@echo off\npowershell -ExecutionPolicy Bypass -File \"%s\" %%1\n", scriptPath) if err := os.WriteFile(batchPath, []byte(batchContent), 0644); err != nil { return fmt.Errorf("failed to write batch wrapper: %w", err)