Skip to content

Commit 902aacd

Browse files
committed
fix: linter fixes
1 parent a543af4 commit 902aacd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/cli/quickstart_detect.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,13 +452,13 @@ func readPomArtifactID(dir string) string {
452452
return ""
453453
}
454454
const open = "<artifactId>"
455-
const close = "</artifactId>"
455+
const closeTag = "</artifactId>"
456456
start := strings.Index(data, open)
457457
if start == -1 {
458458
return ""
459459
}
460460
start += len(open)
461-
end := strings.Index(data[start:], close)
461+
end := strings.Index(data[start:], closeTag)
462462
if end == -1 {
463463
return ""
464464
}

0 commit comments

Comments
 (0)