Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/itamae/resource/file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def show_content_diff

if attributes.modified
Itamae.logger.info "diff:"
diff = run_command(["diff", "-u", "--label=#{attributes.path} (BEFORE)", compare_to, "--label=#{attributes.path} (AFTER)", @temppath], error: false)
diff = run_command(["diff", "-u", "--label", "#{attributes.path} (BEFORE)", compare_to, "--label", "#{attributes.path} (AFTER)", @temppath], error: false)
diff.stdout.each_line do |line|
color = if line.start_with?('+')
:green
Expand Down
Loading