mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
Resolve contradiction.
This commit is contained in:
@@ -215,7 +215,7 @@ includes:
|
|||||||
:::info
|
:::info
|
||||||
|
|
||||||
Vars declared in the included Taskfile have preference over the
|
Vars declared in the included Taskfile have preference over the
|
||||||
included ones! If you want a variable in an included Taskfile to be overridable,
|
variables in the including Taskfile! If you want a variable in an included Taskfile to be overridable,
|
||||||
use the [default function](https://go-task.github.io/slim-sprig/defaults.html):
|
use the [default function](https://go-task.github.io/slim-sprig/defaults.html):
|
||||||
`MY_VAR: '{{.MY_VAR | default "my-default-value"}}'`.
|
`MY_VAR: '{{.MY_VAR | default "my-default-value"}}'`.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user