summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2020-07-23 18:08:20 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2020-07-23 18:08:20 -0700
commitdbb1c4534bd504c11e53fb19681889b959c86034 (patch)
treef9fa88c17b5a938beaba7ef7679c67d9129e5e56
parent6680baa794c01264ecb1c756f16a66564a1dbab8 (diff)
downloadchef-dbb1c4534bd504c11e53fb19681889b959c86034.tar.gz
ironic
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--chef-config/lib/chef-config/path_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-config/lib/chef-config/path_helper.rb b/chef-config/lib/chef-config/path_helper.rb
index 9a7717afd1..19e7cce26a 100644
--- a/chef-config/lib/chef-config/path_helper.rb
+++ b/chef-config/lib/chef-config/path_helper.rb
@@ -55,7 +55,7 @@ module ChefConfig
end
end
- path_seperator_regex = [Regexp.escape(File::SEPARATOR), Regexp.escape(path_separator)].uniq.join
+ path_separator_regex = [Regexp.escape(File::SEPARATOR), Regexp.escape(path_separator)].uniq.join
TRAILING_SLASHES_REGEX = /[#{path_separator_regex}]+$/.freeze
LEADING_SLASHES_REGEX = /^[#{path_separator_regex}]+/.freeze