Fix ArgumentOutOfRangeException in analyzing the build graph
This commit is contained in:
parent
5b55598c44
commit
3fa5a7cd79
|
|
@ -130,7 +130,10 @@ namespace RepoTasks
|
|||
message: $"Undefined external dependency on {dependency.Key}/{dependency.Value.Version}");
|
||||
}
|
||||
|
||||
externalVersions[idx].IsReferenced = true;
|
||||
if (idx >= 0)
|
||||
{
|
||||
externalVersions[idx].IsReferenced = true;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue