summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-10-18 16:19:34 -0700
committerTim Smith <tsmith84@gmail.com>2021-10-18 16:25:27 -0700
commit8394290e857c0ecef3395fada091a449abdbd215 (patch)
tree66a95422b7715a9b4ad6b93469d6838bc33382c2
parent9b7fd004cbdb68f29f3c8fb612464a0c6aa8fb04 (diff)
downloadchef-8394290e857c0ecef3395fada091a449abdbd215.tar.gz
Updates to cspell and a typo
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--cspell.json4
-rw-r--r--post-bundle-install.rb2
2 files changed, 4 insertions, 2 deletions
diff --git a/cspell.json b/cspell.json
index 18838ad25f..7a5b51b510 100644
--- a/cspell.json
+++ b/cspell.json
@@ -1481,7 +1481,9 @@
"computersystem",
"syswrite",
"ESRCH",
- "domainuser"
+ "domainuser",
+ "rfind",
+ "gempath"
],
// flagWords - list of words to be always considered incorrect
// This is useful for offensive words and common spelling errors.
diff --git a/post-bundle-install.rb b/post-bundle-install.rb
index 9d7491de77..3abefab725 100644
--- a/post-bundle-install.rb
+++ b/post-bundle-install.rb
@@ -19,7 +19,7 @@ Dir["#{gem_home}/bundler/gems/*"].each do |gempath|
puts "re-installing #{gem_name}..."
- # we can't use "commmand" or "bundle" or "gem" DSL methods here since those are lazy and we need to run commands immediately
+ # we can't use "command" or "bundle" or "gem" DSL methods here since those are lazy and we need to run commands immediately
# (this is like a shell_out inside of a ruby_block in core chef, you don't use an execute resource inside of a ruby_block or
# things get really weird and unexpected)
Dir.chdir(gempath) do