File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -131,13 +131,13 @@ export class SSHConfig {
131
131
const endBlockCount = countSubstring ( endBlock , raw )
132
132
if ( startBlockCount !== endBlockCount ) {
133
133
throw new SSHConfigBadFormat (
134
- `Malformed config: Unterminated START CODER VSCODE ${ label ? label + " " : "" } block: Each START block must have an END block.` ,
134
+ `Malformed config: ${ this . filePath } has an unterminated START CODER VSCODE ${ label ? label + " " : "" } block. Each START block must have an END block.` ,
135
135
)
136
136
}
137
137
138
138
if ( startBlockCount > 1 || endBlockCount > 1 ) {
139
139
throw new SSHConfigBadFormat (
140
- `Malformed config: ssh config has ${ 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.` ,
141
141
)
142
142
}
143
143
You can’t perform that action at this time.
0 commit comments