Fix writing to a file only when the option is set.
continuous-integration/drone/push Build is passing Details

main 0.5.2
KKlochko 2 years ago
parent 871fc3ed55
commit df8f580f93

@ -147,7 +147,8 @@
(defn show-and-save-output
"Print and save the output to a file if needed"
[output options]
(save-output output options)
(when (contains? options :output-file)
(save-output output options))
(println output))
(defn cracking-actions

Loading…
Cancel
Save