Report the canonical node path in load errors

This commit is contained in:
lilleman
2026-08-27 23:25:53 +02:00
committed by lilleman-tw
parent e6afd089e2
commit f03825671e
2 changed files with 9 additions and 1 deletions
+4 -1
View File
@@ -114,8 +114,11 @@ func (f *Fakes) List() []string {
}
func join(prefix, name string) string {
if prefix == "" {
switch {
case prefix == "":
return name
case name == "":
return prefix
}
return prefix + "." + name
}