Add CHANGELOG + Small nits for #552

This commit is contained in:
Andrey Nering
2021-09-25 09:40:03 -03:00
parent 52474f9103
commit e45ed85b55
3 changed files with 6 additions and 3 deletions

View File

@@ -60,10 +60,10 @@ func Taskfile(dir string, entrypoint string) (*taskfile.Taskfile, error) {
}
info, err := os.Stat(path)
if err != nil && includedTask.Optional {
return nil
}
if err != nil {
if includedTask.Optional {
return nil
}
return err
}
if info.IsDir() {