Skip to content

Commit

Permalink
Define exit_on_failure? to suppress thor's warning
Browse files Browse the repository at this point in the history
  • Loading branch information
unasuke committed Dec 31, 2021
1 parent 308aa90 commit 55b51c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion bin/itamae
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@

require 'itamae/cli'
Itamae::CLI.start

4 changes: 4 additions & 0 deletions lib/itamae/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ def self.options
end
end

def self.exit_on_failure?
true
end

desc "local RECIPE [RECIPE...]", "Run Itamae locally"
define_exec_options
def local(*recipe_files)
Expand Down

0 comments on commit 55b51c7

Please sign in to comment.