-
-
Notifications
You must be signed in to change notification settings - Fork 629
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
requires not evaluated before dynamic variables #1970
Labels
Comments
related to the requires issue: #1950 |
andreynering
added
area: requires
and removed
state: needs triage
Waiting to be triaged by a maintainer.
labels
Dec 30, 2024
Hey @hans-d, I tried your example ➜ task git:(main) ✗ task test-ok
task: Task "test-ok" cancelled because it is missing required variables: FOO
➜ task git:(main) ✗ task test-fail
task: Task "test-fail" cancelled because it is missing required variables: FOO |
Hello ! @andreynering It has been fixed in #1962, but it's not released yet |
@vmaerten I didn't see that PR. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Have a task that defines a `requires: { vars: [] }', and additionallyuse a dynamic variable.
The dynamic variables is resolved before the requires are checked.
Version
Task version: v3.40.1 (h1:Q/TjPh5SAI+XK2fBravDPZXNGm6mvnwrLJqCXfhZ3Wc=)
Operating system
Linux
Experiments Enabled
No response
Example Taskfile
The text was updated successfully, but these errors were encountered: