Merge "Remove duplicates in PathsAndMissingDepsRelativeToModuleSourceDir" into main
This commit is contained in:
commit
ef0cbf11a6
1 changed files with 2 additions and 1 deletions
|
@ -673,7 +673,8 @@ func PathsAndMissingDepsRelativeToModuleSourceDir(input SourceInput) (Paths, []s
|
|||
expandedSrcFiles = append(expandedSrcFiles, srcFiles...)
|
||||
}
|
||||
|
||||
return expandedSrcFiles, append(missingDeps, missingExcludeDeps...)
|
||||
// TODO: b/334169722 - Replace with an error instead of implicitly removing duplicates.
|
||||
return FirstUniquePaths(expandedSrcFiles), append(missingDeps, missingExcludeDeps...)
|
||||
}
|
||||
|
||||
type missingDependencyError struct {
|
||||
|
|
Loading…
Reference in a new issue