提交 6f37438d 编写于 作者: M Matt Bierner

Make return undefined explicit

上级 3a6605a3
......@@ -39,8 +39,9 @@ export class WebviewPortMappingManager extends Disposable {
const uri = URI.parse(url);
const requestLocalHostInfo = extractLocalHostUriMetaDataForPortMapping(uri);
if (!requestLocalHostInfo) {
return requestLocalHostInfo;
return undefined;
}
for (const mapping of this.mappings()) {
if (mapping.webviewPort === requestLocalHostInfo.port) {
if (this.extensionLocation && this.extensionLocation.scheme === REMOTE_HOST_SCHEME) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册