summaryrefslogtreecommitdiff
path: root/lib/chef/mixin/unformatter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/mixin/unformatter.rb')
-rw-r--r--lib/chef/mixin/unformatter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/mixin/unformatter.rb b/lib/chef/mixin/unformatter.rb
index fbe1bdccb4..c233549b17 100644
--- a/lib/chef/mixin/unformatter.rb
+++ b/lib/chef/mixin/unformatter.rb
@@ -21,7 +21,7 @@ class Chef
module Unformatter
def write(message)
- data = message.match(/(\[.+?\] )?([\w]+):(.*)$/)
+ data = message.match(/(\[.+?\] )?(\w+):(.*)$/)
send(data[2].downcase.chomp.to_sym, data[3].strip)
rescue NoMethodError
send(:info, message)