diff options
author | Tim Smith <tsmith84@gmail.com> | 2021-10-22 12:15:33 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-10-22 12:15:33 -0700 |
commit | c8c5b3b41e42c43117256798094f95d3412029bb (patch) | |
tree | 46cef0c9c6bae1bbb0b914a0492408436af4be34 /lib/chef/chef_fs/file_pattern.rb | |
parent | 19c40fe13fe61ea7e5aff0fa17e8627100ef075c (diff) | |
download | chef-c8c5b3b41e42c43117256798094f95d3412029bb.tar.gz |
Fix all the string errorsexpeditor/chef/chefstyle_b5c712d298e240493020b8d5977f03172cc65e17
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/chef_fs/file_pattern.rb')
-rw-r--r-- | lib/chef/chef_fs/file_pattern.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/chef_fs/file_pattern.rb b/lib/chef/chef_fs/file_pattern.rb index 7e7a58e312..0aad1987e9 100644 --- a/lib/chef/chef_fs/file_pattern.rb +++ b/lib/chef/chef_fs/file_pattern.rb @@ -276,7 +276,7 @@ class Chef regexp << ".*" when "*" exact = nil - regexp << '[^\/]*' + regexp << "[^\\/]*" when "?" exact = nil regexp << "." |