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
|
(defn show-and-save-output
|
||||||
"Print and save the output to a file if needed"
|
"Print and save the output to a file if needed"
|
||||||
[output options]
|
[output options]
|
||||||
(save-output output options)
|
(when (contains? options :output-file)
|
||||||
|
(save-output output options))
|
||||||
(println output))
|
(println output))
|
||||||
|
|
||||||
(defn cracking-actions
|
(defn cracking-actions
|
||||||
|
|||||||
Reference in New Issue
Block a user