Skip to content

Commit 69500ba

Browse files
committed
fix typo
1 parent 7f14758 commit 69500ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/golinters/vulncheck.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,14 @@ func vulncheckRun(lintCtx *linter.Context, pass *analysis.Pass, settings *config
7878

7979
for idx, vuln := range r.Vulns {
8080
issues = append(issues, goanalysis.NewIssue(&result.Issue{
81-
Text: writeVulnerability(idx, vuln.OSV.ID, vuln.OSV.Details, writeImorts(imports[vuln])),
81+
Text: writeVulnerability(idx, vuln.OSV.ID, vuln.OSV.Details, writeImports(imports[vuln])),
8282
}, pass))
8383
}
8484

8585
return issues, nil
8686
}
8787

88-
func writeImorts(imports []vulncheck.ImportChain) string {
88+
func writeImports(imports []vulncheck.ImportChain) string {
8989
var s strings.Builder
9090
for _, i := range imports {
9191
indent := 0

0 commit comments

Comments
 (0)