mirror of
https://github.com/go-task/task.git
synced 2025-05-13 22:16:31 +02:00
docs: update variables example so that it doesn't error
This commit is contained in:
parent
bd8ccb8d03
commit
20c1ffe098
@ -1121,7 +1121,7 @@ tasks:
|
||||
- 'echo {{.INT}}' # 42
|
||||
- 'echo {{.FLOAT}}' # 3.14
|
||||
- 'echo {{.ARRAY}}' # [1 2 3]
|
||||
- 'echo {{.ARRAY.0}}' # 1
|
||||
- 'echo {{index .ARRAY 0}}' # 1
|
||||
- 'echo {{.MAP}}' # map[A:1 B:2 C:3]
|
||||
- 'echo {{.MAP.A}}' # 1
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user