eastwood

All things realted to eastwood - the Clojure linter
norton 2018-12-01T18:35:47.001700Z

I'm trying to invoke eastwood using clj with a ~/.clojure/deps.edn alias following the instructions in the eastwood README.md. However, I'm getting an error and I'm unsure how to debug this issue.

$ clj -A:eastwood
Exception in thread "main" java.lang.NullPointerException
	at clojure.core$apply.invokeStatic(core.clj:665)
	at clojure.main$main_opt.invokeStatic(main.clj:491)
	at clojure.main$main_opt.invoke(main.clj:487)
	at clojure.main$main.invokeStatic(main.clj:598)
	at clojure.main$main.doInvoke(main.clj:561)
	at clojure.lang.RestFn.applyTo(RestFn.java:137)
	at clojure.lang.Var.applyTo(Var.java:705)
	at clojure.main.main(main.java:37)

norton 2018-12-01T18:37:05.003Z

eastwood will run if I run it from the clj repl. Any ideas?

slipset 2018-12-01T20:15:14.003200Z

I’ll have a look

slipset 2018-12-01T20:18:56.003800Z

I would imagine that it’s because the currently released version doesn’t have a main version.

slipset 2018-12-01T20:19:20.004400Z

My plan is to cut a release this weekend, that should fix it.

slipset 2018-12-01T20:28:29.004900Z

Eastwood 0.3.4 is released, and @norton I’ve verified that it works as expected.