mirror of
https://github.com/go-task/task.git
synced 2025-06-17 00:17:51 +02:00
cyclic: refactor to return error instead
This commit is contained in:
@ -6,8 +6,8 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
// ErrCyclicDependencyDetected is returned when a cyclic dependency was found in the Taskfile
|
||||
ErrCyclicDependencyDetected = errors.New("task: cyclic dependency detected")
|
||||
// ErrCyclicDepDetected is returned when a cyclic dependency was found in the Taskfile
|
||||
ErrCyclicDepDetected = errors.New("task: cyclic dependency detected")
|
||||
// ErrTaskfileAlreadyExists is returned on creating a Taskfile if one already exists
|
||||
ErrTaskfileAlreadyExists = errors.New("task: A Taskfile already exists")
|
||||
)
|
||||
|
Reference in New Issue
Block a user