Skip to content

Commit

Permalink
Merge pull request #200 from takus/bugfix
Browse files Browse the repository at this point in the history
Fix a bug that displays inappropriate diff in file deletion
  • Loading branch information
ryotarai committed Mar 6, 2016
2 parents 216d1e4 + 305b195 commit b520cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/itamae/resource/file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def show_differences

super

if @temppath
if @temppath && @current_action != :delete
compare_file
end
end
Expand Down

0 comments on commit b520cb8

Please sign in to comment.