mirror of
https://github.com/go-task/task.git
synced 2024-12-12 10:45:49 +02:00
Merge pull request #817 from white-gecko/patch-1
Resolve contradiction.
This commit is contained in:
commit
a1c32a56ea
@ -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"}}'`.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user