Just tried using eastwood for the first time, with the 2.7.0, but got:
$ lein eastwood
Compiling ClojureScript...
Wrote: resources/public/css/screen.css
== Eastwood 0.2.7 Clojure 1.9.0 JVM 1.8.0_171
Directories scanned for source files:
src/clj test
Exception in thread "main" clojure.lang.ArityException: Wrong number of args (2) passed to: core/assoc--5138, compiling:(/tmp/form-init1633278364980010391.clj:1:73)
at clojure.lang.Compiler.load(Compiler.java:7526)
at clojure.lang.Compiler.loadFile(Compiler.java:7452)
at clojure.main$load_script.invokeStatic(main.clj:278)
at clojure.main$init_opt.invokeStatic(main.clj:280)
at clojure.main$init_opt.invoke(main.clj:280)
at clojure.main$initialize.invokeStatic(main.clj:311)
at clojure.main$null_opt.invokeStatic(main.clj:345)
at clojure.main$null_opt.invoke(main.clj:342)
at clojure.main$main.invokeStatic(main.clj:424)
at clojure.main$main.doInvoke(main.clj:387)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.lang.Var.applyTo(Var.java:702)
at clojure.main.main(main.java:37)
Caused by: clojure.lang.ArityException: Wrong number of args (2) passed to: core/assoc--5138
at clojure.lang.AFn.throwArity(AFn.java:429)
at clojure.lang.RestFn.invoke(RestFn.java:427)
at eastwood.lint$eastwood_core$fn__10192.invoke(lint.clj:810)
at clojure.core$map$fn__5587.invoke(core.clj:2747)
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.RT.seq(RT.java:528)
at clojure.lang.RT.countFrom(RT.java:643)
at clojure.lang.RT.count(RT.java:636)
at eastwood.lint$report_warnings.invokeStatic(lint.clj:370)
at eastwood.lint$report_warnings.invoke(lint.clj:369)
at eastwood.lint$eastwood_core.invokeStatic(lint.clj:811)
at eastwood.lint$eastwood_core.invoke(lint.clj:768)
at eastwood.lint$eastwood.invokeStatic(lint.clj:970)
at eastwood.lint$eastwood.invoke(lint.clj:951)
at eastwood.lint$eastwood_from_cmdline.invokeStatic(lint.clj:983)
at eastwood.lint$eastwood_from_cmdline.invoke(lint.clj:982)
at clojure.lang.Var.invoke(Var.java:381)
at eastwood.versioncheck$run_eastwood.invokeStatic(versioncheck.clj:15)
at eastwood.versioncheck$run_eastwood.invoke(versioncheck.clj:9)
at user$eval2705.invokeStatic(form-init1633278364980010391.clj:1)
at user$eval2705.invoke(form-init1633278364980010391.clj:1)
at clojure.lang.Compiler.eval(Compiler.java:7062)
at clojure.lang.Compiler.eval(Compiler.java:7052)
at clojure.lang.Compiler.load(Compiler.java:7514)
... 12 more
Subprocess failed
What could I be missing?
I would suspect something in your code, but I’ll have a looks tonight. On the :beach_with_umbrella: right now
it’s a bug in eastwood
I’m pushing a fix
:(
Thank you!
we should run eastwood on eastwood :)
Are you saying you caught the bug with eastwood :?
nah, the stacktrace was enough, but it would have!