diff --git a/tabby-electron/src/sshImporters.ts b/tabby-electron/src/sshImporters.ts index 031b88f04..51c354617 100644 --- a/tabby-electron/src/sshImporters.ts +++ b/tabby-electron/src/sshImporters.ts @@ -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()) {