diff --git a/plug-api/lib/ref.ts b/plug-api/lib/ref.ts index ad6456fa..bd8ca5fa 100644 --- a/plug-api/lib/ref.ts +++ b/plug-api/lib/ref.ts @@ -87,7 +87,7 @@ export function isValidName(name: string): boolean { export function isValidPath(path: string): path is Path { const ref = parseToRef(path); - return !!ref && ref.path === path; + return !!ref && ref.path === path && path !== ""; } /**