Skip to content

Commit

Permalink
Coerce to path
Browse files Browse the repository at this point in the history
  • Loading branch information
plexus committed Sep 22, 2022
1 parent 1ede76d commit 1ec66df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 2 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# Unreleased

## Added

## Fixed

## Changed
- Fixed previous botched release

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

Expand Down Expand Up @@ -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
- Auto-connect for Emacs
5 changes: 3 additions & 2 deletions src/lambdaisland/launchpad/env.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)]
Expand Down

0 comments on commit 1ec66df

Please sign in to comment.