mirror of
https://github.com/go-task/task.git
synced 2025-03-19 21:17:46 +02:00
Add CHANGELOG to #964
This commit is contained in:
parent
dbe8131b75
commit
e235d77d64
@ -2,6 +2,8 @@
|
||||
|
||||
## Unreleased
|
||||
|
||||
- Small bug fix: closing "Taskfile.yml" once we're done reading it
|
||||
([#963](https://github.com/go-task/task/issues/963), [#964](https://github.com/go-task/task/pull/964) by @HeCorr).
|
||||
- Add `--json` flag (alias `-j`) with the intent to improve support for code
|
||||
editors and add room to other possible integrations. This is basic for now,
|
||||
but we plan to add more info in the near future
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user