Skip to content

Commit 1ec66df

Browse files
committed
Coerce to path
1 parent 1ede76d commit 1ec66df

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
# Unreleased
22

3-
## Added
4-
53
## Fixed
64

7-
## Changed
5+
- Fixed previous botched release
86

97
# 0.6.36-alpha (2022-09-22 / 1755f62)
108

@@ -50,4 +48,4 @@ Initial release
5048
- lambdaisland.classpath integration
5149
- Support for cider-nrepl, refactor-nrepl
5250
- Basic support for shadow-cljs cljs nREPL-base REPL
53-
- Auto-connect for Emacs
51+
- Auto-connect for Emacs

src/lambdaisland/launchpad/env.clj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
get to the underlying setenv system call, for good measure.
1111
1212
But hey it works!"
13-
(:require [lambdaisland.dotenv :as dotenv])
13+
(:require [lambdaisland.dotenv :as dotenv]
14+
[lambdaisland.classpath.watch-deps :as watch-deps])
1415
(:import (java.nio.file Path Files LinkOption)))
1516

1617
(set! *warn-on-reflection* true)
@@ -70,7 +71,7 @@
7071
(defn exists?
7172
"Does the given path exist."
7273
[path]
73-
(Files/exists path (into-array LinkOption [])))
74+
(Files/exists (watch-deps/path path) (into-array LinkOption [])))
7475

7576
(defn dotenv-watch-handler [paths]
7677
(let [paths (map #(Path/of % (into-array String [])) paths)]

0 commit comments

Comments
 (0)