Fix atprocessor test on windows (#12252)

This commit is contained in:
Tommaso Sciortino
2025-10-29 14:11:39 -07:00
committed by GitHub
parent 121732dde6
commit 42a265d290
2 changed files with 5 additions and 6 deletions

View File

@@ -243,8 +243,7 @@ export async function handleAtCommand({
: pathName;
if (stats.isDirectory()) {
currentPathSpec =
relativePath + (relativePath.endsWith(path.sep) ? `**` : `/**`);
currentPathSpec = path.join(relativePath, '**');
onDebugMessage(
`Path ${pathName} resolved to directory, using glob: ${currentPathSpec}`,
);