summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-07-23 09:20:29 -0700
committerTim Smith <tsmith@chef.io>2018-07-23 09:20:29 -0700
commite31df6706fd10aa19f3ef98f3e86e956ae8e8ae6 (patch)
tree3b351770dd7ad222cc4955a608ee9a2fd7470b12
parent6b66a43ff779f95b73543a5b9a68b950408083b6 (diff)
downloadchef-e31df6706fd10aa19f3ef98f3e86e956ae8e8ae6.tar.gz
Fix comment typo
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--chef-config/lib/chef-config/path_helper.rb4
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