Skip to content

Commit

Permalink
fix ns declarations that fail specs in 1.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce Hauman committed Sep 5, 2018
1 parent abaa058 commit 28e9cbd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions deps.edn
@@ -1,4 +1,5 @@
{:deps {org.clojure/clojure {:mvn/version "1.9.0"}
;org.clojure/clojure {:mvn/version "1.10.0-alpha7"}
org.clojure/clojurescript {:mvn/version "1.10.238"}
;; DEV for now its easier to use cider with top level deps
;; com.bhauman/figwheel-core {:local/root "/Users/bhauman/workspace/figwheel/figwheel-core"}
Expand Down
8 changes: 4 additions & 4 deletions src/figwheel/main.cljc
Expand Up @@ -30,10 +30,10 @@
#?(:clj
(:import
[java.io StringReader]
[java.net.InetAddress]
[java.net.URI]
[java.net.URLEncoder]
[java.nio.file.Paths]))
java.net.InetAddress
java.net.URI
java.net.URLEncoder
java.nio.file.Paths))
#?(:cljs
(:require-macros [figwheel.main])))

Expand Down
2 changes: 1 addition & 1 deletion src/figwheel/main/util.clj
Expand Up @@ -5,7 +5,7 @@
[cljs.util]
[cljs.build.api :as bapi])
(:import
[java.nio.file.Paths]))
java.nio.file.Paths))

(defn ->path [s & args]
(java.nio.file.Paths/get ^String s (into-array String args)))
Expand Down

0 comments on commit 28e9cbd

Please sign in to comment.