Skip to content

Commit 0761a15

Browse files
committed
Lint
1 parent 20ab1fd commit 0761a15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/tspath/path.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ func getCommonParentsWorker(componentGroups [][]string, minComponents int, optio
10751075
equality := options.getEqualityComparer()
10761076
var lastCommonIndex int
10771077
outer:
1078-
for lastCommonIndex = 0; lastCommonIndex < maxDepth; lastCommonIndex++ {
1078+
for lastCommonIndex := range maxDepth {
10791079
candidate := componentGroups[0][lastCommonIndex]
10801080
for j, comps := range componentGroups[1:] {
10811081
if !equality(candidate, comps[lastCommonIndex]) { // divergence

0 commit comments

Comments
 (0)