Skip to content

Commit a9a1cb2

Browse files
committed
bug: added escaping the cmd arguments for log-path
1 parent bd9d1ca commit a9a1cb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/remote.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ export class Remote {
677677
this.storage.writeToCoderOutputChannel(
678678
`SSH proxy diagnostics are being written to ${logDir}`,
679679
);
680-
return ` --log-dir ${escape(logDir)}`;
680+
return ` --log-dir ${escapeCommandArg(logDir)}`;
681681
}
682682

683683
// updateSSHConfig updates the SSH configuration with a wildcard that handles

0 commit comments

Comments
 (0)