Fix
This commit is contained in:
parent
b4aab678fa
commit
1c401ac21c
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