diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2016-02-16 10:51:11 -0800 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2016-02-16 19:07:55 -0800 |
commit | 4db706fcce25b6d269a1b232e316083ae1a45b9b (patch) | |
tree | 7be29c2e270499ea5bfdd7e3f2831b8f8d88cf23 /chef-config | |
parent | 2bfb3d37acdd9a71c17cd3ac28fed5e9e53de4ee (diff) | |
download | chef-4db706fcce25b6d269a1b232e316083ae1a45b9b.tar.gz |
Fix rubocop warnings
Diffstat (limited to 'chef-config')
-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 8fc6fbdff8..10384974c7 100644 --- a/chef-config/lib/chef-config/path_helper.rb +++ b/chef-config/lib/chef-config/path_helper.rb @@ -154,7 +154,7 @@ module ChefConfig # This is because only forwardslashes should be used with dir (even for windows) def self.escape_glob_dir(*parts) path = Pathname.new(join(*parts)).cleanpath.to_s - path.gsub(/[\\\{\}\[\]\*\?]/) { |x| "\\"+x } + path.gsub(/[\\\{\}\[\]\*\?]/) { |x| "\\" + x } end def self.relative_path_from(from, to) |