1
0
mirror of https://github.com/go-task/task.git synced 2025-11-29 22:48:03 +02:00

Add CHANGELOG to #964

This commit is contained in:
Andrey Nering
2022-12-22 21:27:16 -03:00
parent dbe8131b75
commit e235d77d64
2 changed files with 3 additions and 0 deletions

View File

@@ -198,6 +198,7 @@ func readTaskfile(file string) (*taskfile.Taskfile, error) {
return nil, err
}
defer f.Close()
var t taskfile.Taskfile
if err := yaml.NewDecoder(f).Decode(&t); err != nil {
return nil, fmt.Errorf("task: Failed to parse %s:\n%w", filepathext.TryAbsToRel(file), err)