Skip to content

Commit e42f770

Browse files
committed
review feedback: link: unnecessary str
1 parent 22b897a commit e42f770

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/babashka/fs.cljc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -614,11 +614,11 @@
614614
(let [target-dir (as-path target-dir)]
615615
;; cf. Python
616616
(when-not (directory? source-dir opts)
617-
(throw (IllegalArgumentException. (str "Not a directory: " (str source-dir)))))
617+
(throw (IllegalArgumentException. (str "Not a directory: " source-dir))))
618618
;; cf. Python
619619
(when (and (exists? target-dir opts)
620620
(not (directory? target-dir opts)))
621-
(throw (IllegalArgumentException. (str "Not a directory: " (str target-dir)))))
621+
(throw (IllegalArgumentException. (str "Not a directory: " target-dir))))
622622
;; cf. Python
623623
(let [csrc (canonicalize source-dir)
624624
cdest (canonicalize target-dir)]

0 commit comments

Comments
 (0)