You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In tutorial 16 there’s a note that says it's fine to do a (merge-env! :source-paths dirs) where dirs contains nonexistent paths, because there should be no error. But that doesn't seem to be the case for me.
In the following example I'm just launching a repl and merging in a nonexistent directory named "d":
$ boot repl
nREPL server started on port 61064 on host 127.0.0.1 - nrepl://127.0.0.1:61064
REPL-y 0.3.7, nREPL 0.2.12
Clojure 1.8.0
Java HotSpot(TM) 64-Bit Server VM 1.8.0_112-b16
...
boot.user=> (merge-env! :source-paths #{"d"})
java.nio.file.NoSuchFileException: d
This is boot 2.7.1
In the tutorial this means I can't boot tdd with no arguments after adding the "-t" option because the default value for "-t" includes nonexistent dirs test/clj and test/cljs. I know it's trivial to just pass "-t test/cljc" and so of course that's how I'm proceeding. But the behavior I'm seeing directly contradicts what the tutorial suggests ought to happen.
The text was updated successfully, but these errors were encountered:
In tutorial 16 there’s a note that says it's fine to do a
(merge-env! :source-paths dirs)
wheredirs
contains nonexistent paths, because there should be no error. But that doesn't seem to be the case for me.In the following example I'm just launching a repl and merging in a nonexistent directory named "d":
This is boot 2.7.1
In the tutorial this means I can't
boot tdd
with no arguments after adding the "-t" option because the default value for "-t" includes nonexistent dirstest/clj
andtest/cljs
. I know it's trivial to just pass "-t test/cljc" and so of course that's how I'm proceeding. But the behavior I'm seeing directly contradicts what the tutorial suggests ought to happen.The text was updated successfully, but these errors were encountered: