Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit71e2751

Browse files
committed
escape dots in sshTempFilePathExpr
1 parent341f6a0 commit71e2751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/sshConfig.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { SSHConfig } from "./sshConfig"
66
// setting it to a different path makes it easier to test
77
// and makes mistakes abundantly clear.
88
constsshFilePath="/Path/To/UserHomeDir/.sshConfigDir/sshConfigFile"
9-
constsshTempFilePathExpr=`^/Path/To/UserHomeDir/.sshConfigDir/.sshConfigFile.vscode-coder-tmp.[a-z0-9]+$`
9+
constsshTempFilePathExpr=`^/Path/To/UserHomeDir/\\.sshConfigDir/\\.sshConfigFile\\.vscode-coder-tmp\\.[a-z0-9]+$`
1010

1111
constmockFileSystem={
1212
mkdir:vi.fn(),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp