Closed olivercsr closed 2 weeks ago
Btw, I'll see if I can try to figure out a PR for fixing it if desired.
Without having looked into it with too much detail, I'd assume make-js-action (or the format string) needs to be able to handle the situation when there are no :args
, right?
You are correct. Format string should be fixed to ignore absent second argument.
I was following the Quickstart tutorial and found the following:
make-js-action
does not work anymore as suggested in the Quickstart. When I use it as stated in the section Toggle tasks and run it, it will end up in a Lisp condition:After trying to figure out what is going wrong, I found out that it will work if you pass
:args (make-hash-table)
tomake-js-action
.I assume this has to do with the format string at https://github.com/40ants/reblocks/blob/master/src/actions.lisp#L49 which seems to run out of arguments in the error case.
Using SBCL 2.4.7