-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error attempting to use lein-doo 0.1.7 #120
Comments
Skimming the responsible code a bit, it seems like that assertion is meant to catch not specifying an environment (
Do you have an example repository that shows this behaviour? |
This is still an issue with Doo 0.1.8. There's an assertion that has helpful text, but it unhelpfully also prints a stacktrace. The stacktrace should be suspended, and in general, assertions shouldn't be used for validating the command-line arguments. Assertion failures should indicate a bug in the program and the user not knowing the right arguments is not a bug. doo/plugin/src/leiningen/doo.clj Lines 101 to 111 in fe0e7d4
|
That sounds like a sensible rule. figwheel has some good error reporting, maybe we should steal it. |
Get the following assertion error when attempting to run
lein with-profile test doo phantom
with plugin 0.1.7:Version 0.1.6 of the plugin works just fine. Configuration is simply
:doo {:build "test"}
The text was updated successfully, but these errors were encountered: