mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 12:33:35 +01:00
rename urlFormat to uriFormat; fixes #69344
This commit is contained in:
@@ -16,7 +16,7 @@ const WEB_ROOT = '${workspaceFolder}';
|
||||
interface ServerReadyAction {
|
||||
pattern: string;
|
||||
action?: 'openExternally' | 'debugWithChrome';
|
||||
urlFormat?: string;
|
||||
uriFormat?: string;
|
||||
webRoot?: string;
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ function openExternalWithString(session: vscode.DebugSession, portOrUriString: s
|
||||
if (portOrUriString) {
|
||||
if (/^[0-9]+$/.test(portOrUriString)) {
|
||||
const args: ServerReadyAction = session.configuration.serverReadyAction;
|
||||
portOrUriString = util.format(args.urlFormat || URI_FORMAT, portOrUriString);
|
||||
portOrUriString = util.format(args.uriFormat || URI_FORMAT, portOrUriString);
|
||||
}
|
||||
openExternalWithUri(session, portOrUriString);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user