From 1ec66dfd3fad00369d217307f0bfa862571874af Mon Sep 17 00:00:00 2001 From: Arne Brasseur Date: Thu, 22 Sep 2022 12:39:46 +0200 Subject: [PATCH] Coerce to path --- CHANGELOG.md | 6 ++---- src/lambdaisland/launchpad/env.clj | 5 +++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1c9ab9..24058da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,8 @@ # Unreleased -## Added - ## Fixed -## Changed +- Fixed previous botched release # 0.6.36-alpha (2022-09-22 / 1755f62) @@ -50,4 +48,4 @@ Initial release - lambdaisland.classpath integration - Support for cider-nrepl, refactor-nrepl - Basic support for shadow-cljs cljs nREPL-base REPL -- Auto-connect for Emacs \ No newline at end of file +- Auto-connect for Emacs diff --git a/src/lambdaisland/launchpad/env.clj b/src/lambdaisland/launchpad/env.clj index 2caf637..efc9783 100644 --- a/src/lambdaisland/launchpad/env.clj +++ b/src/lambdaisland/launchpad/env.clj @@ -10,7 +10,8 @@ get to the underlying setenv system call, for good measure. But hey it works!" - (:require [lambdaisland.dotenv :as dotenv]) + (:require [lambdaisland.dotenv :as dotenv] + [lambdaisland.classpath.watch-deps :as watch-deps]) (:import (java.nio.file Path Files LinkOption))) (set! *warn-on-reflection* true) @@ -70,7 +71,7 @@ (defn exists? "Does the given path exist." [path] - (Files/exists path (into-array LinkOption []))) + (Files/exists (watch-deps/path path) (into-array LinkOption []))) (defn dotenv-watch-handler [paths] (let [paths (map #(Path/of % (into-array String [])) paths)]