Fix writing to a file only when the option is set.
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user