Skip to content

Commit

Permalink
fix(core): fix turbo engine task builder
Browse files Browse the repository at this point in the history
  • Loading branch information
tknickman committed Dec 12, 2022
1 parent 926e710 commit 95ee0b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/internal/core/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func (e *Engine) AddDep(fromTaskID string, toTaskID string) error {
return fmt.Errorf("found reference to unknown package: %v in task %v", fromPkg, fromTaskID)
}

if _, ok := e.PackageTaskDeps[fromTaskID]; !ok {
if _, ok := e.PackageTaskDeps[toTaskID]; !ok {
e.PackageTaskDeps[toTaskID] = []string{}
}

Expand Down

0 comments on commit 95ee0b5

Please sign in to comment.