-
Notifications
You must be signed in to change notification settings - Fork 18
[BUG] inverted else clause causes immediate failure. #24
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workinggoPull requests that update go codePull requests that update go codegood first issueGood for newcomersGood for newcomershacktoberfestEligible for HacktoberfestEligible for Hacktoberfesthacktoberfest-acceptedApproved Hacktoberfest contributionApproved Hacktoberfest contribution
Description
Lines 41-43 contain a fatal error that triggers when CLAUDE_API_KEY is set, which is the opposite of the intended behavior. This makes the Claude provider completely non-functional.
https://github.com/DFanso/commit-msg/pull/19#discussion_r2401744548
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggoPull requests that update go codePull requests that update go codegood first issueGood for newcomersGood for newcomershacktoberfestEligible for HacktoberfestEligible for Hacktoberfesthacktoberfest-acceptedApproved Hacktoberfest contributionApproved Hacktoberfest contribution