Skip to content

Commit b2b020d

Browse files
authored
Merge pull request microsoft#166643 from microsoft/error-msg-unavaliable-ports-ssh
Add comment to treat port error message as API
2 parents 9feaed8 + 9e44d74 commit b2b020d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/server-main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ async function parsePort(host, strPort) {
197197
if (port !== undefined) {
198198
return port;
199199
}
200+
// Remote-SSH extension relies on this exact port error message, treat as an API
200201
console.warn(`--port: Could not find free port in range: ${range.start} - ${range.end} (inclusive).`);
201202
process.exit(1);
202203

0 commit comments

Comments
 (0)