We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a543af4 commit 902aacdCopy full SHA for 902aacd
1 file changed
internal/cli/quickstart_detect.go
@@ -452,13 +452,13 @@ func readPomArtifactID(dir string) string {
452
return ""
453
}
454
const open = "<artifactId>"
455
- const close = "</artifactId>"
+ const closeTag = "</artifactId>"
456
start := strings.Index(data, open)
457
if start == -1 {
458
459
460
start += len(open)
461
- end := strings.Index(data[start:], close)
+ end := strings.Index(data[start:], closeTag)
462
if end == -1 {
463
464
0 commit comments