task
task copied to clipboard
Fix handling of CLI provided global vars.
When CLI provided global vars are provided, they are placed in e.Taskfile.Vars after the global vars from the Taskfile. As a result, global vars defined in the Taskfile cannot reference those provided at the CLI. This PR changes the order that those CLI provided global vars are merged into e.Taskfile.Vars but/and retains priority for the CLI provided global vars.
fixes #1580 fixes #1565 (probably) fixes #2090 fixes #1108