This repository was archived by the owner on Dec 6, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -282,9 +282,7 @@ export class ChromeDebugAdapter extends CoreDebugAdapter {
282282 if ( this . _breakOnLoadHelper ) {
283283 // This is what -core is doing. We only actually care to see if this fails, to see if we need to apply the workaround
284284 const browserVersion = ( await this . _chromeConnection . version ) . browser ;
285- if ( browserVersion . isAtLeastVersion ( 0 , 1 ) ) { // If this is false it means it's unknown version
286- this . _breakOnLoadHelper . setBrowserVersion ( browserVersion ) ;
287- } else {
285+ if ( ! browserVersion . isAtLeastVersion ( 0 , 1 ) ) { // If this is true it means it's unknown version
288286 logger . log ( `/json/version failed, attempting workaround to get the version` ) ;
289287 // If the original way failed, we try to use versionInformationPromise to get this information
290288 const versionInformation = await versionInformationPromise ;
You can’t perform that action at this time.
0 commit comments