diff options
author | Tim Smith <tsmith@chef.io> | 2018-07-23 09:42:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-23 09:42:53 -0700 |
commit | c4e9e7293f0fb1e3b44ae47dc0fab355d5bbf07d (patch) | |
tree | 7a993f9c9f6407750c58e0644c625eb5aeff8497 /chef-config | |
parent | 561f2d40b6e0fc3d52e1d20fc18913a05169f137 (diff) | |
parent | e31df6706fd10aa19f3ef98f3e86e956ae8e8ae6 (diff) | |
download | chef-c4e9e7293f0fb1e3b44ae47dc0fab355d5bbf07d.tar.gz |
Merge pull request #7499 from chef/typo_fix
Fix comment typo
Diffstat (limited to 'chef-config')
-rw-r--r-- | chef-config/lib/chef-config/path_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chef-config/lib/chef-config/path_helper.rb b/chef-config/lib/chef-config/path_helper.rb index f1dc47a489..84217b9591 100644 --- a/chef-config/lib/chef-config/path_helper.rb +++ b/chef-config/lib/chef-config/path_helper.rb @@ -1,6 +1,6 @@ # # Author:: Bryan McLellan <btm@loftninjas.org> -# Copyright:: Copyright 2014-2016, Chef Software, Inc. +# Copyright:: Copyright 2014-2018, Chef Software, Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -306,7 +306,7 @@ module ChefConfig field = "" line.scan(/\s*(?>([^\s\\"]+|"([^"]*)"|'([^']*)')|(\S))(\s|\z)?/m) do |word, within_dq, within_sq, esc, sep| - # Appand the string with Word & Escape Character + # Append the string with Word & Escape Character field << (word || esc.gsub(/\\(.)/, '\\1')) # Re-build the field when any whitespace character or |