diff options
author | Claire McQuin <claire@getchef.com> | 2014-09-18 17:00:37 -0700 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-09-18 17:00:37 -0700 |
commit | 263db4af909e3be7a2897867e55743f9ba5478fb (patch) | |
tree | df11c8f2f5d4d170454f7f6bfc57289078dc857d | |
parent | d4fffc8656387a2606093f1fab589cfa92217152 (diff) | |
download | chef-mcquin/glob_fixes.tar.gz |
Update for PathHelper glob.mcquin/glob_fixes
-rw-r--r-- | DOC_CHANGES.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/DOC_CHANGES.md b/DOC_CHANGES.md index ad45e4c383..4443401135 100644 --- a/DOC_CHANGES.md +++ b/DOC_CHANGES.md @@ -172,3 +172,7 @@ end # the `:immediate` is required for results to be defined. notifies :reboot_now, "reboot[now]", :immediate ``` + +### New PlatformHelper method: `glob` +File paths using the `"\\"` separator cannot be globbed without escaping. Use `Chef::Util::PlatformHelper.glob` +instead of `Dir.glob` and `Dir[]` when the file path might contain `\` characters. |