Skip to content
Permalink
Browse files

fix ns declarations that fail specs in 1.10.0

  • Loading branch information...
Bruce Hauman
Bruce Hauman committed Sep 5, 2018
1 parent abaa058 commit 28e9cbde209c15ed9143c62796683d5ae6991920
Showing with 6 additions and 5 deletions.
  1. +1 −0 deps.edn
  2. +4 −4 src/figwheel/main.cljc
  3. +1 −1 src/figwheel/main/util.clj
@@ -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"}
@@ -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])))

@@ -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)))

0 comments on commit 28e9cbd

Please sign in to comment.
You can’t perform that action at this time.