File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 11diff --git a/src/process/index.js b/src/process/index.js
2- index 389b0845256a34b4536d6da99edb00d17f13a6b4..f17a0ac687e9110ebfd33cb91fd2f6250d318643 100644
2+ index f445024f14ecfe5ee0eb70fe42535591c76838dc..e37299dcf12366896d04690773bf0474629112da 100644
33--- a/src/process/index.js
44+++ b/src/process/index.js
55@@ -5,8 +5,20 @@ import fs from 'node:fs';
@@ -25,3 +25,12 @@ index 389b0845256a34b4536d6da99edb00d17f13a6b4..f17a0ac687e9110ebfd33cb91fd2f625
2525
2626 import * as Natives from './native/index.js';
2727 const Native = Natives[process.platform];
28+ @@ -38,7 +50,7 @@ export default class ProcessServer {
29+ const path = _path.toLowerCase().replaceAll('\\', '/');
30+ const toCompare = [];
31+ const splitPath = path.split('/');
32+ - for (let i = 1; i < splitPath.length; i++) {
33+ + for (let i = 1; i <= splitPath.length; i++) {
34+ toCompare.push(splitPath.slice(-i).join('/'));
35+ }
36+
You can’t perform that action at this time.
0 commit comments