Skip to content

Commit

Permalink
bonsai
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Sep 21, 2023
1 parent 74242db commit da0d34e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grpcstub.go
Original file line number Diff line number Diff line change
Expand Up @@ -915,6 +915,7 @@ func resolvePaths(importPaths []string, protos ...string) ([]string, []string, e
}
resolvedIPaths = append(resolvedIPaths, abs)
}
resolvedIPaths = unique(resolvedIPaths)
resolvedProtos := []string{}
for _, p := range protos {
abs, err := filepath.Abs(p)
Expand All @@ -927,7 +928,6 @@ func resolvePaths(importPaths []string, protos ...string) ([]string, []string, e
}
}
}
resolvedIPaths = unique(resolvedIPaths)
resolvedProtos = unique(resolvedProtos)
return resolvedIPaths, resolvedProtos, nil
}
Expand Down

0 comments on commit da0d34e

Please sign in to comment.