Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureScript by

There's a missing comma in the help message for ClojureScript, and the result is that the message is somewhat confusing.

`
$ clj -m cljs.main --help
...
-t, --target name The JavaScript target. Configures environment

                          bootstrap and defaults to browser. Supported
                          values: node or nodejs webworker, none

`

The last line should have a comma after "nodejs" and before "webworker," so that it reads:

`
-t, --target name The JavaScript target. Configures environment

                          bootstrap and defaults to browser. Supported
                          values: node or nodejs, webworker, none

`

It looks like this typo was introduced when some old targets were removed in this commit, file src/main/clojure/cljs/cli.clj.

1 Answer

0 votes
by
...