We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
str
1 parent 22b897a commit e42f770Copy full SHA for e42f770
1 file changed
src/babashka/fs.cljc
@@ -614,11 +614,11 @@
614
(let [target-dir (as-path target-dir)]
615
;; cf. Python
616
(when-not (directory? source-dir opts)
617
- (throw (IllegalArgumentException. (str "Not a directory: " (str source-dir)))))
+ (throw (IllegalArgumentException. (str "Not a directory: " source-dir))))
618
619
(when (and (exists? target-dir opts)
620
(not (directory? target-dir opts)))
621
- (throw (IllegalArgumentException. (str "Not a directory: " (str target-dir)))))
+ (throw (IllegalArgumentException. (str "Not a directory: " target-dir))))
622
623
(let [csrc (canonicalize source-dir)
624
cdest (canonicalize target-dir)]
0 commit comments