summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-11-12 10:45:48 -0800
committerTim Smith <tsmith84@gmail.com>2020-11-12 10:45:48 -0800
commit9693d44b7af3670a22e2862301b1e42e672e457a (patch)
treeb07a8c3d22a18743da4661a474e1f8af2bce70c4
parent84c6e6f6561230ab178fac8eb7fc9f944c985944 (diff)
downloadchef-9693d44b7af3670a22e2862301b1e42e672e457a.tar.gz
Disable Lint/Debugger complaining out chef-shell using irb
This is valid. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/shell/ext.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/shell/ext.rb b/lib/chef/shell/ext.rb
index c840f90aae..b884658e98 100644
--- a/lib/chef/shell/ext.rb
+++ b/lib/chef/shell/ext.rb
@@ -62,7 +62,7 @@ module Shell
if subsession = jobs.select_shell_session(context_obj)
jobs.switch(subsession)
else
- irb(context_obj)
+ irb(context_obj) # rubocop: disable Lint/Debugger
end
end