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
Exception in thread "main" clojure.lang.ArityException: Wrong number of args (0) passed to: clojure.core/max
when bb task'ing with an empty display task list.
A display task list is one that only has tasks with keys that are not symbols or a reprivate or keys start with -.
repro
Create a bb.edn file with a tasks list whose name is not a symbol
{
:tasks {:xyz1}
}
Run bb tasks
Fails with exception
Exception in thread "main" clojure.lang.ArityException: Wrong number of args (0) passed to: clojure.core/max
at clojure.lang.AFn.throwArity(AFn.java:429)
at clojure.lang.RestFn.invoke(RestFn.java:399)
at clojure.lang.AFn.applyToHelper(AFn.java:152)
at clojure.lang.RestFn.applyTo(RestFn.java:132)
at clojure.core$apply.invokeStatic(core.clj:667)
at babashka.impl.tasks$list_tasks.invokeStatic(tasks.clj:435)
at babashka.main$exec.invokeStatic(main.clj:951)
at babashka.main$main.invokeStatic(main.clj:1083)
at babashka.main$main.doInvoke(main.clj:1053)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invokeStatic(core.clj:667)
at babashka.main$_main.invokeStatic(main.clj:1116)
at babashka.main$_main.doInvoke(main.clj:1108)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at babashka.main.main(Unknown Source)
expected behavior
"No tasks found."
The text was updated successfully, but these errors were encountered:
version
babashka v1.0.165
platform
any
problem
Exception in thread "main" clojure.lang.ArityException: Wrong number of args (0) passed to: clojure.core/max
when
bb task
'ing with an empty display task list.A display task list is one that only has tasks with keys that are not symbols or a reprivate or keys start with
-
.repro
bb.edn
file with a tasks list whose name is not a symbolbb tasks
Fails with exception
expected behavior
"No tasks found."
The text was updated successfully, but these errors were encountered: