1
0
mirror of https://github.com/go-task/task.git synced 2025-08-10 22:42:19 +02:00

Fix nil errors when merging Taskfiles

Closes #150
This commit is contained in:
Andrey Nering
2018-12-02 14:17:32 -02:00
parent 4ed4ad9852
commit a9b1f38a7c
5 changed files with 39 additions and 0 deletions

1
testdata/includes_empty/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
file.txt

4
testdata/includes_empty/Taskfile.yml vendored Normal file
View File

@@ -0,0 +1,4 @@
version: '2'
includes:
included: Taskfile2.yml

10
testdata/includes_empty/Taskfile2.yml vendored Normal file
View File

@@ -0,0 +1,10 @@
version: '2'
vars:
FILE: file.txt
CONTENT: default
tasks:
default:
cmds:
- echo "{{.CONTENT}}" > {{.FILE}}