@@ -311,7 +311,7 @@ export async function getJsDebugCDPProxyWebsocketUrl(debugSessionId: string): Pr
311311 const addr : IRequestCDPProxyResult | undefined = await vscode . commands . executeCommand (
312312 'extension.js-debug.requestCDPProxy' ,
313313 debugSessionId ,
314- forwardToUi
314+ forwardToUi ,
315315 ) ;
316316 if ( addr ) {
317317 return `ws://${ addr . host } :${ addr . port } ${ addr . path || '' } ` ;
@@ -474,7 +474,7 @@ export function getRuntimeConfig(config: Partial<IUserConfig> = {}): IRuntimeCon
474474 // Resolve the paths with the webRoot set by the user
475475 const resolvedOverrides : IStringDictionary < string > = { } ;
476476 for ( const pattern in sourceMapPathOverrides ) {
477- if ( sourceMapPathOverrides . hasOwnProperty ( pattern ) ) {
477+ if ( Object . hasOwn ( sourceMapPathOverrides , pattern ) ) {
478478 const replacePattern = replaceWebRootInSourceMapPathOverridesEntry ( webRoot , pattern ) ;
479479 const replacePatternValue = replaceWebRootInSourceMapPathOverridesEntry (
480480 webRoot , sourceMapPathOverrides [ pattern ] ) ;
@@ -491,7 +491,7 @@ export function getRuntimeConfig(config: Partial<IUserConfig> = {}): IRuntimeCon
491491 // replace workspaceFolder with local paths
492492 const resolvedMappingOverrides : IStringDictionary < string > = { } ;
493493 for ( const customPathMapped in pathMapping ) {
494- if ( pathMapping . hasOwnProperty ( customPathMapped ) ) {
494+ if ( Object . hasOwn ( pathMapping , customPathMapped ) ) {
495495 resolvedMappingOverrides [ customPathMapped ] =
496496 replaceWorkSpaceFolderPlaceholder ( pathMapping [ customPathMapped ] ) ;
497497 }
0 commit comments