mirror of
https://github.com/go-task/task.git
synced 2025-11-25 22:32:55 +02:00
feat: version checks
This commit is contained in:
committed by
Andrey Nering
parent
8c0236c795
commit
e2b85c6aa1
@@ -45,7 +45,7 @@ func Read(
|
||||
|
||||
// Check that the Taskfile is set and has a schema version
|
||||
if t == nil || t.Version == nil {
|
||||
return nil, &errors.TaskfileVersionNotDefined{URI: node.Location()}
|
||||
return nil, &errors.TaskfileVersionCheckError{URI: node.Location()}
|
||||
}
|
||||
|
||||
// Annotate any included Taskfile reference with a base directory for resolving relative paths
|
||||
|
||||
Reference in New Issue
Block a user