From 0090ba66ebb5b6ad242f0b5d67be7c59ddcd3d0a Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Wed, 23 Sep 2020 20:28:30 -0700 Subject: Use ChefUtils::CANARY and update to the chefstyle that enforces that Signed-off-by: Tim Smith --- lib/chef/local_mode.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef/local_mode.rb') diff --git a/lib/chef/local_mode.rb b/lib/chef/local_mode.rb index 5be97d9783..e7346322d2 100644 --- a/lib/chef/local_mode.rb +++ b/lib/chef/local_mode.rb @@ -15,7 +15,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -require "chef-utils" unless defined?(ChefUtils) +require "chef-utils" unless defined?(ChefUtils::CANARY) require_relative "config" require_relative "monkey_patches/webrick-utils" if ChefUtils.windows? -- cgit v1.2.1