修复配置bug

This commit is contained in:
hoteas
2022-08-03 12:07:55 +08:00
parent 48ee95ca67
commit fab3d86519
5 changed files with 74 additions and 8 deletions
+3
View File
@@ -94,6 +94,9 @@ func findCaller(skip int) string {
if file == "code/makecode.go" {
file, line = getCaller(skip + i + j)
}
if strings.Index(file, "common/") == 0 {
file, line = getCaller(skip + i + j)
}
if strings.Contains(file, "application.go") {
file, line = getCaller(skip + i + j)
}