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 cd61f43 commit cc03cb0Copy full SHA for cc03cb0
packages/core/src/test/shared/extensions/ssh.test.ts
@@ -38,7 +38,7 @@ describe('SSH Agent', function () {
38
})
39
40
function echoEnvVarsCmd(varNames: string[]) {
41
- const toShell = (s: string) => `$${s}`
+ const toShell = (s: string) => (isWin() ? `%${s}%` : `$${s}`)
42
return `echo "${varNames.map(toShell).join(' ')}"`
43
}
44
0 commit comments