diff --git a/src/process/index.ts b/src/process/index.ts index d7755be..a8687b4 100644 --- a/src/process/index.ts +++ b/src/process/index.ts @@ -246,7 +246,7 @@ export default class ProcessServer { const toCompare: string[] = []; const splitPath = normalizedPath.split("/"); - for (let i = 1; i < splitPath.length; i++) { + for (let i = 1; i <= splitPath.length; i++) { toCompare.push(splitPath.slice(-i).join("/")); }