1
0
mirror of https://github.com/go-task/task.git synced 2024-12-12 10:45:49 +02:00

docs: fix variable name (#1754)

This commit is contained in:
Thanu Poptiphueng 2024-08-25 08:24:42 +07:00 committed by GitHub
parent 0a59890a46
commit 32158dac87
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1181,7 +1181,7 @@ tasks:
ref: index .FOO 0 # <-- The element at index 0 is passed by reference to bar
bar:
cmds:
- 'echo {{.MYVAR}}' # <-- FOO is just the letter 'A'
- 'echo {{.FOO}}' # <-- FOO is just the letter 'A'
```
## Looping over values