From fcdfaf01fbf72022a6b72254749e44ddbd97b957 Mon Sep 17 00:00:00 2001 From: bujie9527 Date: Thu, 5 Feb 2026 16:48:35 +0800 Subject: [PATCH] Fix setup-github-secrets.ps1 syntax error Co-authored-by: Cursor --- scripts/setup-github-secrets.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/setup-github-secrets.ps1 b/scripts/setup-github-secrets.ps1 index c67423c..75ab76a 100644 --- a/scripts/setup-github-secrets.ps1 +++ b/scripts/setup-github-secrets.ps1 @@ -10,6 +10,7 @@ $sshKeyPubPath = "$sshKeyPath.pub" Write-Host "检查 SSH 密钥..." -ForegroundColor Yellow +$useExisting = $false if (Test-Path $sshKeyPath) { Write-Host "✓ 找到现有 SSH 密钥: $sshKeyPath" -ForegroundColor Green $regenerate = Read-Host "是否重新生成? (y/n)"