We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4f1fe9 commit eab10ceCopy full SHA for eab10ce
packages/core/src/utils/fileUtils.ts
@@ -43,7 +43,7 @@ export function isWithinRoot(
43
// unless it's the root path itself (e.g., '/' or 'C:\').
44
const rootWithSeparator =
45
normalizedRootDirectory === path.sep ||
46
- normalizedRootDirectory.endsWith(path.sep)
+ normalizedRootDirectory.endsWith(path.sep)
47
? normalizedRootDirectory
48
: normalizedRootDirectory + path.sep;
49
0 commit comments