Skip to content

Commit 00de53e

Browse files
author
mudssky
committed
fix: 修正 updateRepo 函数中的参数声明语法错误
将 `params` 更正为 `param`,以确保 PowerShell 脚本中函数参数的正确声明
1 parent 9d7c00c commit 00de53e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

downGithub.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ if (-not (Test-Path $repoParentPath)) {
129129
New-Item -ItemType Directory -Force -Path $repoParentPath
130130
}
131131
function updateRepo {
132-
params(
132+
param(
133133
[string]$Path
134134
)
135135
# 检查是否为 Git 仓库

0 commit comments

Comments
 (0)