summaryrefslogtreecommitdiff
path: root/lib/chef/application
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-11-16 12:25:38 -0800
committerGitHub <noreply@github.com>2016-11-16 12:25:38 -0800
commitdf70293a5d79a9f51d02453ea055600fc77f93e9 (patch)
tree59e7572224193e4b06d879fffb5068d7952a1e40 /lib/chef/application
parent134e80b01a63fa2df7a0f29e7365dd06e973aa1a (diff)
parentd36473f78465d476d2dcaff3789a25a787827d58 (diff)
downloadchef-df70293a5d79a9f51d02453ea055600fc77f93e9.tar.gz
Merge pull request #5547 from chef/lcg/unified-integer
Core: fix Lint/UnifiedInteger cop
Diffstat (limited to 'lib/chef/application')
-rw-r--r--lib/chef/application/exit_code.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/application/exit_code.rb b/lib/chef/application/exit_code.rb
index b33085c95d..2c1298cf91 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)