Skip to content

Commit

Permalink
Merge pull request #820 from chef/dstr
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <tsmith@chef.io>
  • Loading branch information
tas50 authored Jan 29, 2021
2 parents 1eaa95e + 0d31281 commit ba984f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubocop/cop/chef/deprecation/legacy_notify_syntax.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def on_send(node)
when :str
"'#{type.source}[#{name.value}]'"
when :dstr
"\"#{type.source}[#{name.value.source}]\""
"\"#{type.source}[#{name.value}]\""
else
"\"#{type.source}[\#{#{name.source}}]\""
end
Expand Down

0 comments on commit ba984f6

Please sign in to comment.