From 51fbb9c28c441549a4ca73f7c43674acd0669a7d Mon Sep 17 00:00:00 2001 From: Andre Weinand Date: Mon, 25 Feb 2019 14:21:21 +0100 Subject: [PATCH] rename urlFormat to uriFormat; fixes #69344 --- extensions/debug-server-ready/src/extension.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/debug-server-ready/src/extension.ts b/extensions/debug-server-ready/src/extension.ts index b91d023da74..1aecc7ec852 100644 --- a/extensions/debug-server-ready/src/extension.ts +++ b/extensions/debug-server-ready/src/extension.ts @@ -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); } -- GitLab