-
Notifications
You must be signed in to change notification settings - Fork 783
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
CLI --seed without value and files argument is counterintuitive #1691
Labels
Milestone
Comments
Strawman proposal:
Alternatives I considered:
|
Krinkle
added a commit
to Krinkle/qunit
that referenced
this issue
Sep 16, 2024
Krinkle
added a commit
to Krinkle/qunit
that referenced
this issue
Sep 16, 2024
Krinkle
added a commit
to Krinkle/qunit
that referenced
this issue
Sep 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using
qunit --seed
it will default to runningtest/**.js
and will print the randomly selected seed for future re-use. This works as expected:The problem is, when using a files argument, the command becomes ambiguous and it naturally becomes the value for the seed instead:
This can be worked around currently by using
--
to mark the end of the options and the start of the arguments:The text was updated successfully, but these errors were encountered: