diff --git a/pkg/yangentry/build_yang.go b/pkg/yangentry/build_yang.go index 2841bdf2..8cb0663f 100644 --- a/pkg/yangentry/build_yang.go +++ b/pkg/yangentry/build_yang.go @@ -36,6 +36,9 @@ func Parse(yangfiles, path []string) (map[string]*yang.Entry, []error) { var processErr []error for _, name := range yangfiles { + if name == "" { + continue + } if err := ms.Read(name); err != nil { processErr = append(processErr, err) }