Skip to content

Add exit_on_failure? to suppress Thor deprecation warning - #1

Merged
JCook21 merged 1 commit into
masterfrom
claude/fix-thor-exit-on-failure-T81Cx
Mar 21, 2026
Merged

Add exit_on_failure? to suppress Thor deprecation warning#1
JCook21 merged 1 commit into
masterfrom
claude/fix-thor-exit-on-failure-T81Cx

Conversation

@JCook21

@JCook21 JCook21 commented Mar 20, 2026

Copy link
Copy Markdown
Owner

Thor >= 0.20 warns when exit_on_failure? is not defined, because a future version will default to exit-on-failure rather than exit 0. The CLI already calls exit(1) explicitly in all error paths, so returning true here matches the existing behaviour and silences the warning.

https://claude.ai/code/session_01YCwmQwLcoLBGjQ8yXWQ7pd

Thor >= 0.20 warns when exit_on_failure? is not defined, because a
future version will default to exit-on-failure rather than exit 0.
The CLI already calls exit(1) explicitly in all error paths, so
returning true here matches the existing behaviour and silences
the warning.

https://claude.ai/code/session_01YCwmQwLcoLBGjQ8yXWQ7pd
@JCook21
JCook21 merged commit 60ebb6d into master Mar 21, 2026
3 checks passed
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.

2 participants