summaryrefslogtreecommitdiff
path: root/lib/chef/local_mode.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-09-23 20:28:30 -0700
committerTim Smith <tsmith84@gmail.com>2020-09-23 20:28:30 -0700
commit0090ba66ebb5b6ad242f0b5d67be7c59ddcd3d0a (patch)
treeb8d35732554c80676cf4f311e2c7113c43701bce /lib/chef/local_mode.rb
parent419873bd43e17eb11a45fd02c5df109f980a98e9 (diff)
downloadchef-0090ba66ebb5b6ad242f0b5d67be7c59ddcd3d0a.tar.gz
Use ChefUtils::CANARY and update to the chefstyle that enforces that
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/local_mode.rb')
-rw-r--r--lib/chef/local_mode.rb2
1 files changed, 1 insertions, 1 deletions
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?