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

Commita9265be

Browse files
committed
add config file path to message
1 parentbcebbd4 commita9265be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/sshConfig.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,13 @@ export class SSHConfig {
131131
constendBlockCount=countSubstring(endBlock,raw)
132132
if(startBlockCount!==endBlockCount){
133133
thrownewSSHConfigBadFormat(
134-
`Malformed config:UnterminatedSTART CODER VSCODE${label ?label+" " :""}block: Each START block must have an END block.`,
134+
`Malformed config:${this.filePath} has an unterminatedSTART CODER VSCODE${label ?label+" " :""}block. Each START block must have an END block.`,
135135
)
136136
}
137137

138138
if(startBlockCount>1||endBlockCount>1){
139139
thrownewSSHConfigBadFormat(
140-
`Malformed config:ssh confighas${startBlockCount} START CODER VSCODE${label ?label+" " :""}sections, please remove all but one.`,
140+
`Malformed config:${this.filePath}has${startBlockCount} START CODER VSCODE${label ?label+" " :""}sections. Please remove all but one.`,
141141
)
142142
}
143143

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp