"Mob Session DONE [ci-skip]"
This commit is contained in:
parent
3182421a5e
commit
1c9c4f3e60
2 changed files with 4 additions and 2 deletions
|
@ -7,9 +7,11 @@
|
|||
[fs-prefix resource-path]
|
||||
(let [file-from-cp (io/file (io/resource resource-path))
|
||||
file-from-fs (io/file (str fs-prefix resource-path))]
|
||||
(println file-from-cp)
|
||||
(println file-from-fs)
|
||||
(try
|
||||
(when (.exists file-from-fs)
|
||||
file-from-fs)
|
||||
file-from-fs)
|
||||
(catch Exception e
|
||||
(try (when (.exists file-from-cp)
|
||||
file-from-cp)
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
(is
|
||||
(.exists (sut/file-from-cp-or-filesystem "./test-resources" "templates/themes/bootstrap4-test/js")))
|
||||
(is
|
||||
(.exists (sut/file-from-cp-or-filesystem "./" ".gitignore"))))
|
||||
(.exists (sut/file-from-cp-or-filesystem "./" ".gitkeep"))))
|
||||
|
||||
(deftest test-copy-resources-from-theme
|
||||
(is (do
|
||||
|
|
Loading…
Reference in a new issue