You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Execution error (NullPointerException) at nextjournal.clerk.builder/build-static-app! (builder.clj:284).
Cannot invoke "clojure.lang.IFn.invoke(Object)" because "report_fn" is null
when calling (builder/build-static-app! {:paths ["foo/**/*.clj"]}) against an empty glob "foo/**/*.clj", also reproducible with (builder/build-static-app! {:paths []}).
The text was updated successfully, but these errors were encountered:
Possibly related: if I pass :paths with a single path — if the options map contains only :paths that works more or less fine. But if I also specify :index then I get the same NPE.
Can reproduce the problem @aviflat described in :mvn/version "0.12.707". If I understand the code correctly, the problem is that the build-static-app! function, which extracts :keys and then calls process-build-opts which sets the :report-fn.
This is thrown
when calling
(builder/build-static-app! {:paths ["foo/**/*.clj"]})
against an empty glob"foo/**/*.clj"
, also reproducible with(builder/build-static-app! {:paths []})
.The text was updated successfully, but these errors were encountered: