mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
minor for travis
Former-commit-id: 2a62e2817e8fc98a77359344a88505151b61654e
This commit is contained in:
@@ -1060,7 +1060,13 @@ func getCaller() (string, int) {
|
||||
continue
|
||||
}
|
||||
|
||||
if !strings.Contains(file, "/kataras/iris") || strings.Contains(file, "/kataras/iris/_examples") || strings.Contains(file, "iris-contrib/examples") {
|
||||
if strings.Contains(file, ".amd64/src/") {
|
||||
continue
|
||||
}
|
||||
|
||||
if !strings.Contains(file, "/kataras/iris") ||
|
||||
strings.Contains(file, "/kataras/iris/_examples") ||
|
||||
strings.Contains(file, "iris-contrib/examples") {
|
||||
if relFile, err := filepath.Rel(wd, file); err == nil {
|
||||
file = "./" + relFile
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user