diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-11-15 14:36:04 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-11-15 14:36:04 -0800 |
commit | 9689452421b9cbbb26a5112c29be15c74cbf6014 (patch) | |
tree | 86281b997e98515822d7e146a28771d292541bef /lib/chef/application | |
parent | e4dbb483b1252a1e861ffaf421317e1e450c3abb (diff) | |
download | chef-9689452421b9cbbb26a5112c29be15c74cbf6014.tar.gz |
fix Lint/UnifiedInteger cop
believe this becomes necessary for ruby 2.4/3.0
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/application')
-rw-r--r-- | lib/chef/application/exit_code.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/application/exit_code.rb b/lib/chef/application/exit_code.rb index 6fec2524dd..b02bb68d4a 100644 --- a/lib/chef/application/exit_code.rb +++ b/lib/chef/application/exit_code.rb @@ -88,7 +88,7 @@ class Chef def normalize_legacy_exit_code(exit_code) case exit_code - when Fixnum + when Integer exit_code when Exception lookup_exit_code_by_exception(exit_code) |