Skip to content

fix: 修复 fillConfig 函数中 arguments 循环变量错误 - #194

Merged
aiselp merged 1 commit into
setup-v7from
fix/engines-arguments-loop
Jul 27, 2026
Merged

aiselp merged 1 commit into
setup-v7from
fix/engines-arguments-loop

Conversation

@aiselp

@aiselp aiselp commented Jul 27, 2026

Copy link
Copy Markdown
Owner

在第 49 行,循环遍历的是全局 arguments 对象,应该改为遍历 args 变量(即 c.arguments)。

  • 修改前:for (var key in arguments)
  • 修改后:for (var key in args)

这样才能正确遍历传入的配置参数而不是全局 arguments 对象。

在第 49 行,循环遍历的是全局 `arguments` 对象,应该改为遍历 `args` 变量(即 c.arguments)。

- 修改前:for (var key in arguments)
- 修改后:for (var key in args)

这样才能正确遍历传入的配置参数而不是全局 arguments 对象。
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@aiselp
aiselp merged commit 9cbbeb8 into setup-v7 Jul 27, 2026
2 checks passed
@aiselp
aiselp deleted the fix/engines-arguments-loop branch July 27, 2026 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant