fix(ssh): unescape backslashes when globbing Include paths on Windows (#11918)

This commit is contained in:
ParaN3xus authored and GitHub committed 2026-11-23 23:03:49 +01:00
1 parent 85b780198a
commit 56718c09a1
1 file changed
+1 -1
+1 -1
View File
@@ -140,7 +140,7 @@ async function parseSSHConfigFile (
continue
}
const matches = glob.sync(resolveSSHIncludePath(directive.value))
const matches = glob.sync(resolveSSHIncludePath(directive.value), { windowsPathsNoEscape: process.platform === 'win32' })
for (const match of matches) {
const stat = await fs.stat(match)
if (stat.isDirectory()) {