1
0
mirror of https://github.com/go-task/task.git synced 2025-06-15 00:15:10 +02:00

chore(requires): skip unneeded variable evaluation for requires (#1976)

This commit is contained in:
Andrey Nering
2024-12-30 18:27:16 -03:00
committed by GitHub
parent f27daea5c9
commit 43f3dcea05
2 changed files with 3 additions and 8 deletions

View File

@ -176,7 +176,7 @@ func (e *Executor) RunTask(ctx context.Context, call *ast.Call) error {
return nil
}
if err := e.areTaskRequiredVarsSet(t, call); err != nil {
if err := e.areTaskRequiredVarsSet(t); err != nil {
return err
}