Skip to content

Fix deprecation warning of thor#65

Merged
yujideveloper merged 1 commit intomirakui:masterfrom
yujideveloper:fix/deprecation-warning-of-thor
Dec 6, 2022
Merged

Fix deprecation warning of thor#65
yujideveloper merged 1 commit intomirakui:masterfrom
yujideveloper:fix/deprecation-warning-of-thor

Conversation

@yujideveloper
Copy link
Collaborator

I think exit_on_failure? should return true. But it is breaking change. So, I only fixed deprecation warning in this PR.

Deprecation warning: Thor exit with status 0 on errors. To keep this behavior, you must define `exit_on_failure?` in `Ec2ssh::CLI`
You can silence deprecations warning by setting the environment variable THOR_SILENCE_DEPRECATION.

ref. rails/thor#625

```
Deprecation warning: Thor exit with status 0 on errors. To keep this behavior, you must define `exit_on_failure?` in `Ec2ssh::CLI`
You can silence deprecations warning by setting the environment variable THOR_SILENCE_DEPRECATION.
```
@yujideveloper yujideveloper merged commit 05847bf into mirakui:master Dec 6, 2022
@yujideveloper yujideveloper deleted the fix/deprecation-warning-of-thor branch December 6, 2022 03:14
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