Skip to content

Commit 8cce327

Browse files
committed
Fix deprecation warning of thor
``` 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. ```
1 parent fe0211e commit 8cce327

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/ec2ssh/cli.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,5 +114,9 @@ def hl
114114
end
115115
end
116116
end
117+
118+
def self.exit_on_failure?
119+
false
120+
end
117121
end
118122
end

0 commit comments

Comments
 (0)