095aa3e 新增的两个文件缺文件尾换行,gofmt -l 命中,CI 的 make verify
format 项失败(run 520),提测门禁红。仅补换行,无逻辑改动。
This commit is contained in:
@@ -17,4 +17,4 @@ func KnowledgeBaseConsoleURL(origin, knowledgeBaseID string) string {
|
||||
return ""
|
||||
}
|
||||
return strings.TrimSuffix(origin, "/") + "/platform/knowledge-bases/" + url.PathEscape(knowledgeBaseID)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,4 +16,4 @@ func TestKnowledgeBaseConsoleURLCannotInventAHost(t *testing.T) {
|
||||
t.Fatalf("KnowledgeBaseConsoleURL(%q,%q) = %q, want %q", c.origin, c.kb, got, c.want)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user