summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tasks/spellcheck.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/spellcheck.rb b/tasks/spellcheck.rb
index 54e92483e2..7a3478c272 100644
--- a/tasks/spellcheck.rb
+++ b/tasks/spellcheck.rb
@@ -46,8 +46,8 @@ namespace :spellcheck do
end
task :cspell_check do
- require "chef-utils"
- ChefUtils.which("cspell") || abort(<<~INSTALL_CSPELL)
+ require "bundler"
+ Bundler.which("cspell") || abort(<<~INSTALL_CSPELL)
cspell is needed to run the spellcheck tasks. Run `npm install -g cspell` to install.
For more information: https://www.npmjs.com/package/cspell
INSTALL_CSPELL