luminus-framework / luminus-template

a template project for the Luminus framework
http://www.luminusweb.net/
MIT License
645 stars 147 forks source link

unindented code and minor improvement #570

Closed bobyuancn closed 1 year ago

bobyuancn commented 1 year ago

This is not a bug, but for perfection, please consider.

  1. generate a new project: lein new luminus counterwebapp +h2 +immutant
  2. open src/clj/counterwebapp/core.clj at line 61 and 62.
    (defn -main [& args]
    (-> args
                            (parse-opts cli-options)
                            (mount/start-with-args #'counterwebapp.config/env))

    we can see it is not indented correctly, and it is better to change to:

    (defn -main [& args]
    (-> args
    (parse-opts cli-options)
    (mount/start-with-args #'env))
yogthos commented 1 year ago

thanks for the heads up, I'll take a look at fixing the formatting there

yogthos commented 1 year ago

and should be all good