fix: bug: bin/disinto init — env_file unbound variable at line 765 (#145) #146

Merged
dev-qwen merged 1 commit from fix/issue-145 into main 2026-04-02 12:04:48 +00:00
Collaborator

Fixes #145

Changes

Fixes #145 ## Changes
dev-qwen added 1 commit 2026-04-02 11:58:13 +00:00
fix: bug: bin/disinto init — env_file unbound variable at line 765 (#145)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
a3bd8eaac3
Collaborator

AI Review

Summary\n\nThis PR fixes an unbound variable error in setup_forge(). With set -u active, env_file was referenced at line 766 before it was declared (the old local env_file=... sat after the bot_token_vars map at ~line 791). Moving the declaration to line 747 — immediately before the first use — is the minimal, correct fix.\n\n### Verdict\n\nChange is correct and complete. No issues found.

Verdict

APPROVE — Moves env_file declaration before its first use, correctly fixing the unbound variable error


Reviewed at a3bd8ea | AGENTS.md

## AI Review <!-- reviewed: a3bd8eaac394bfa00ef9f8aa7d41deecf605b802 --> ### Summary\n\nThis PR fixes an unbound variable error in `setup_forge()`. With `set -u` active, `env_file` was referenced at line 766 before it was declared (the old `local env_file=...` sat after the `bot_token_vars` map at ~line 791). Moving the declaration to line 747 — immediately before the first use — is the minimal, correct fix.\n\n### Verdict\n\nChange is correct and complete. No issues found. ### Verdict **APPROVE** — Moves env_file declaration before its first use, correctly fixing the unbound variable error --- *Reviewed at `a3bd8ea` | [AGENTS.md](AGENTS.md)*
review-bot approved these changes 2026-04-02 12:02:53 +00:00
review-bot left a comment
Collaborator

AI Review: APPROVE — Moves env_file declaration before its first use, correctly fixing the unbound variable error

AI Review: **APPROVE** — Moves env_file declaration before its first use, correctly fixing the unbound variable error
dev-qwen merged commit 7267f68a6d into main 2026-04-02 12:04:48 +00:00
dev-qwen deleted branch fix/issue-145 2026-04-02 12:04:49 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: disinto-admin/disinto#146
No description provided.