parent
186e9e70b6
commit
28fa3585ce
1 changed files with 0 additions and 2 deletions
|
@ -93,14 +93,12 @@ func findChangedTasks(d Deadlines, files []string) []string {
|
||||||
_, task := d.FindTask(components[0])
|
_, task := d.FindTask(components[0])
|
||||||
if task != nil {
|
if task != nil {
|
||||||
tasks[task.Name] = struct{}{}
|
tasks[task.Name] = struct{}{}
|
||||||
continue
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, task := range d.Tasks() {
|
for _, task := range d.Tasks() {
|
||||||
for _, path := range task.Watch {
|
for _, path := range task.Watch {
|
||||||
if components[0] == path {
|
if components[0] == path {
|
||||||
tasks[task.Name] = struct{}{}
|
tasks[task.Name] = struct{}{}
|
||||||
continue
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue