From a53b6bb4fd4e2948affe4fdbe970ddcda510f541 Mon Sep 17 00:00:00 2001 From: taep96 <64481039+taep96@users.noreply.github.com> Date: Wed, 11 Feb 2026 10:18:28 +0100 Subject: [PATCH] fix: detect processes without path separators --- src/process/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/process/index.js b/src/process/index.js index f445024..594b3b1 100644 --- a/src/process/index.js +++ b/src/process/index.js @@ -38,7 +38,7 @@ export default class ProcessServer { const path = _path.toLowerCase().replaceAll('\\', '/'); const toCompare = []; const splitPath = path.split('/'); - for (let i = 1; i < splitPath.length; i++) { + for (let i = 1; i <= splitPath.length; i++) { toCompare.push(splitPath.slice(-i).join('/')); }