diff options
| author | Tim Smith <tsmith84@gmail.com> | 2020-10-04 12:31:38 -0700 |
|---|---|---|
| committer | Tim Smith <tsmith84@gmail.com> | 2020-10-04 12:31:38 -0700 |
| commit | d23171c595d4768c52ae6b43c50a60f657288afc (patch) | |
| tree | 99571b1208868e81e0da149978627cc0a3d7f097 | |
| parent | 85ca32e46fe5b79656082962f0737adc2fad7a8e (diff) | |
| download | chef-safe_navigation.tar.gz | |
Remove extra safe navigationsafe_navigation
This is not needed here.
Signed-off-by: Tim Smith <tsmith@chef.io>
| -rw-r--r-- | lib/chef/data_collector.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/data_collector.rb b/lib/chef/data_collector.rb index 39e5196a10..8d76f8a7b2 100644 --- a/lib/chef/data_collector.rb +++ b/lib/chef/data_collector.rb @@ -182,7 +182,7 @@ class Chef events.unregister(self) unless Chef::Config[:data_collector][:output_locations] begin - code = e&.response&.code&.to_s + code = e&.response&.code.to_s rescue # i really don't care end |
