🏁 Fix output's path jump failed on Windows
This commit is contained in:
parent
bfbc47c3c4
commit
a93a52197d
|
@ -93,7 +93,7 @@ func parsePath(curDir, outputLine string) string {
|
||||||
column = parts[2]
|
column = parts[2]
|
||||||
}
|
}
|
||||||
|
|
||||||
tagStart := `<span class="path" data-path="` + filepath.Join(curDir, file) + `" data-line="` + line +
|
tagStart := `<span class="path" data-path="` + filepath.ToSlash(filepath.Join(curDir, file)) + `" data-line="` + line +
|
||||||
`" data-column="` + column + `">`
|
`" data-column="` + column + `">`
|
||||||
text := file + ":" + line
|
text := file + ":" + line
|
||||||
if hasColumn {
|
if hasColumn {
|
||||||
|
|
Loading…
Reference in New Issue