1
0
mirror of https://github.com/go-task/task.git synced 2025-01-12 04:34:11 +02:00

Fix error when using checksum method and no file exists for a source glob

Closes #131
This commit is contained in:
Andrey Nering 2018-09-01 11:21:49 -03:00
parent 8bdf5c554d
commit 687b4ec837
2 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,7 @@ func glob(dir string, globs []string) (files []string, err error) {
}
f, err := zglob.Glob(g)
if err != nil {
return nil, err
continue
}
files = append(files, f...)
}

View File

@ -2,6 +2,7 @@ build:
cmds:
- cp ./source.txt ./generated.txt
sources:
- ./**/glob-with-inexistent-file.txt
- ./source.txt
generates:
- ./generated.txt