lib/kumogata/post_processing.rb in kumogata-0.4.4 vs lib/kumogata/post_processing.rb in kumogata-0.4.5
- old
+ new
@@ -60,10 +60,12 @@
'StdErr' => err.force_encoding('UTF-8'),
}
}
end
- save_command_results(results) unless results.empty?
+ if @options.command_result_log? and not results.empty?
+ save_command_results(results)
+ end
end
private
def validate_timing(name, timing)