diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-07-23 18:08:20 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2020-07-23 18:08:20 -0700 |
commit | dbb1c4534bd504c11e53fb19681889b959c86034 (patch) | |
tree | f9fa88c17b5a938beaba7ef7679c67d9129e5e56 | |
parent | 6680baa794c01264ecb1c756f16a66564a1dbab8 (diff) | |
download | chef-dbb1c4534bd504c11e53fb19681889b959c86034.tar.gz |
ironic
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | chef-config/lib/chef-config/path_helper.rb | 2 |
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 |