Skip to content

Commit 49f7326

Browse files
authored
chore: refactor (#3164)
1 parent 7568674 commit 49f7326

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/conf/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ func (e conflictKeyError) Error() string {
353353
}
354354

355355
func getFullName(parent, child string) string {
356-
if parent == "" {
356+
if len(parent) == 0 {
357357
return child
358358
}
359359

0 commit comments

Comments
 (0)