Skip to content

Compeltions appears to be broken #70

Description

@hlship
----- Error --------------------------------------------------------------------
Type:     clojure.lang.ArityException
Message:  Wrong number of args (11) passed to: function of arity 3
Location: net/lewisship/cli_tools/completions.clj:91:24

----- Context ------------------------------------------------------------------
87:
88: (defn- print-tool
89:   [tool-name command-root extra-options]
90:   (let [prefix   (str "_" tool-name)
91:         options  (map #(apply to-opt %) (concat extra-options impl/default-tool-options))
                           ^--- Wrong number of args (11) passed to: function of arity 3
92:         commands (->> command-root
93:                       (keep #(extract-command prefix %)))]
94:     (selmer.util/without-escaping
95:       (render "top-level" {:tool     tool-name
96:                            :options  options

----- Stack trace --------------------------------------------------------------
clojure.core/apply                             - clojure/core.clj:662:1
net.lewisship.cli-tools.completions            - net/lewisship/cli_tools/completions.clj:91:24
selmer.parser/render-file                      - selmer/parser.clj:128:1
net.lewisship.cli-tools.completions            - net/lewisship/cli_tools/completions.clj:19:10
clojure.core/print                             - clojure/core.clj:3754:1
... (run with --debug to see elided elements)
net.lewisship.cli-tools/dispatch               - net/lewisship/cli_tools.clj:320:5
net.lewisship.cli-tools/dispatch               - net/lewisship/cli_tools.clj:245:1
ladder.cli.main/dispatch                       - /opt/homebrew/Cellar/ladder-cli/0.3.0/libexec/src/ladder/cli/main.clj:50:3
ladder.cli.main/dispatch                       - /opt/homebrew/Cellar/ladder-cli/0.3.0/libexec/src/ladder/cli/main.clj:48:1
user                                           - /opt/homebrew/bin/ldr:5:1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions