fix(ssh): unescape backslashes when globbing Include paths on Windows (#11918)
This commit is contained in:
1 parent
85b780198a
commit
56718c09a1
1 file changed
+1
-1
@@ -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()) {
|
||||
|
||||
Reference in new issue
Block a user