Closed tchagnon closed 10 years ago
fs/temp-dir loops forever if the java.io.tmpdir directory does not exist.
% JAVA_OPTS="-Djava.io.tmpdir=/tmp/nonexistent" lein repl user=> (require '[me.raynes.fs :as fs]) nil user=> (fs/tmpdir) "/tmp/nonexistent" user=> (fs/temp-dir "foo")
Pull request forthcoming.
Good catch! Thanks for the pull request (the future pull request. I'm a time lord, you see)!
Thanks for the great lib. Let me know if you want to do something different with that change and I can rework it.
fs/temp-dir loops forever if the java.io.tmpdir directory does not exist.
Pull request forthcoming.