Skip to content

Commit

Permalink
Use dir-img and dir-log if passed (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonygalea authored Jul 20, 2020
1 parent 4f5fb67 commit e9f7f35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/etaoin/api.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2544,9 +2544,9 @@
file-src (apply format file-tpl (conj params "html"))
file-log (apply format file-tpl (conj params "json"))

path-img (join-path dir-src file-img)
path-img (join-path dir-img file-img)
path-src (join-path dir-src file-src)
path-log (join-path dir-src file-log)]
path-log (join-path dir-log file-log)]

(log/debugf "Writing screenshot: %s" path-img)
(screenshot driver path-img)
Expand Down

0 comments on commit e9f7f35

Please sign in to comment.