File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ export class CDPTargetsProvider implements vscode.TreeDataProvider<CDPTarget> {
105105 if ( ! actualTarget . url || ! actualTarget . url . startsWith ( 'https' ) ) {
106106 return Promise . resolve ( actualTarget ) ;
107107 }
108- const faviconRegex = / ( (?: \/ \/ | \. ) ( [ ^ \ .] * ) \. [ ^ \. ^ \ /] + \/ ) .* / ;
108+ const faviconRegex = / ( (?: \/ \/ | \. ) ( [ ^ . ] * ) \. [ ^ . ^ / ] + \/ ) .* / ;
109109
110110 // Example regex match: https://learn.microsoft.com/en-us/microsoft-edge/
111111 // urlMatch[0] = .microsoft.com/en-us/microsoft-edge/
@@ -144,7 +144,6 @@ export class CDPTargetsProvider implements vscode.TreeDataProvider<CDPTarget> {
144144 }
145145 } ) ;
146146 } else {
147- // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors
148147 resolve ( actualTarget ) ;
149148 }
150149 } ) ;
You can’t perform that action at this time.
0 commit comments