chore: refactor (#3164)

This commit is contained in:
Kevin Wan 2023-04-24 12:34:52 +08:00 committed by GitHub
parent 7568674b2b
commit 49f73265b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -353,7 +353,7 @@ func (e conflictKeyError) Error() string {
}
func getFullName(parent, child string) string {
if parent == "" {
if len(parent) == 0 {
return child
}