commit
11bcca9098
1 changed files with 1 additions and 1 deletions
|
@ -1177,7 +1177,7 @@ func (c *Context) updateDependencies() (errs []error) {
|
||||||
})
|
})
|
||||||
|
|
||||||
// Iterate backwards through the cycle list.
|
// Iterate backwards through the cycle list.
|
||||||
curModule := cycle[len(cycle)-1]
|
curModule := cycle[0]
|
||||||
for i := len(cycle) - 1; i >= 0; i-- {
|
for i := len(cycle) - 1; i >= 0; i-- {
|
||||||
nextModule := cycle[i]
|
nextModule := cycle[i]
|
||||||
errs = append(errs, &Error{
|
errs = append(errs, &Error{
|
||||||
|
|
Loading…
Reference in a new issue