lib/similatron/diff_comparison_engine.rb in similatron-0.1.1 vs lib/similatron/diff_comparison_engine.rb in similatron-0.2.0

- old
+ new

@@ -17,10 +17,10 @@ def diff_extension "diff" end - def diff(diff_path, exec_result) + def diff(exec_result) if exec_result.status != 0 File.write(diff_path, exec_result.out) diff_path else # rubocop:disable Style/EmptyElse nil