Skip to content

Commit 587260e

Browse files
committed
add comment regarding error message treat as API
1 parent 8007c63 commit 587260e

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)