summaryrefslogtreecommitdiff
path: root/lib/mixlib/shellout
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mixlib/shellout')
-rw-r--r--lib/mixlib/shellout/helper.rb2
-rw-r--r--lib/mixlib/shellout/windows.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/mixlib/shellout/helper.rb b/lib/mixlib/shellout/helper.rb
index 35184b9..ac63494 100644
--- a/lib/mixlib/shellout/helper.rb
+++ b/lib/mixlib/shellout/helper.rb
@@ -30,7 +30,7 @@ module Mixlib
# These APIs are considered public for use in ohai and chef (by cookbooks and plugins, etc)
# but are considered private/experimental for now for the direct users of mixlib-shellout.
#
- # You can see an example of how to handle the "dependenecy injection" in the rspec unit test.
+ # You can see an example of how to handle the "dependency injection" in the rspec unit test.
# That backend API is left deliberately undocumented for now and may not follow SemVer and may
# break at any time (at least for the rest of 2020).
#
diff --git a/lib/mixlib/shellout/windows.rb b/lib/mixlib/shellout/windows.rb
index d5eff79..7ece3d1 100644
--- a/lib/mixlib/shellout/windows.rb
+++ b/lib/mixlib/shellout/windows.rb
@@ -208,7 +208,7 @@ module Mixlib
# 4. if the argument must be quoted by #1 and terminates in a sequence of backslashes then all the backlashes must themselves
# be backslash excaped (double the backslashes).
# 5. if an interior quote that must be escaped by #2 has a sequence of backslashes before it then all the backslashes must
- # themselves be backslash excaped along with the backslash ecape of the interior quote (double plus one backslashes).
+ # themselves be backslash excaped along with the backslash escape of the interior quote (double plus one backslashes).
#
# And to restate. We are constructing a string which will be parsed by the windows parser into arguments, and we want those
# arguments to match the *args array we are passed here. So call the windows parser operation A then we need to apply A^-1 to