diff options
author | Tim Smith <tsmith84@gmail.com> | 2016-03-16 10:28:29 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2016-03-16 10:28:29 -0700 |
commit | b7ac062212c038c23226a64bea5acb77d95a0775 (patch) | |
tree | 5c91c6fb283541acdae051973b25a7326ebbb817 /lib | |
parent | 0b831a7679bd827657146b0c182dbbb8a27f45a8 (diff) | |
download | mixlib-cli-b7ac062212c038c23226a64bea5acb77d95a0775.tar.gz |
Resolve chefstyle warnings
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mixlib/cli.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/mixlib/cli.rb b/lib/mixlib/cli.rb index b3f108e..887d05f 100644 --- a/lib/mixlib/cli.rb +++ b/lib/mixlib/cli.rb @@ -231,15 +231,15 @@ module Mixlib opt_args = build_option_arguments(opt_val) opt_method = case opt_val[:on] - when :on - :on - when :tail - :on_tail - when :head - :on_head - else - raise ArgumentError, "You must pass :on, :tail, or :head to :on" - end + when :on + :on + when :tail + :on_tail + when :head + :on_head + else + raise ArgumentError, "You must pass :on, :tail, or :head to :on" + end parse_block = Proc.new() do |c| |