Skip to content
This repository was archived by the owner on Dec 6, 2022. It is now read-only.

Commit 39c4423

Browse files
author
Diego Geffner
committed
Feedback
1 parent e45c1df commit 39c4423

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/chromeDebugAdapter.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import * as errors from './errors';
1717

1818
import * as nls from 'vscode-nls';
1919
import { FinishedStartingUpEventArguments } from 'vscode-chrome-debug-core/lib/src/executionTimingsReporter';
20-
import { version } from 'vscode';
2120
let localize = nls.loadMessageBundle();
2221

2322
// Keep in sync with sourceMapPathOverrides package.json default
@@ -289,8 +288,8 @@ export class ChromeDebugAdapter extends CoreDebugAdapter {
289288
logger.log(`/json/version failed, attempting workaround to get the version`);
290289
// If the original way failed, we try to use versionInformationPromise to get this information
291290
const versionInformation = await versionInformationPromise;
292-
const browserVersion = Version.parse(versionInformation['Versions.Target.Version']);
293-
this._breakOnLoadHelper.setBrowserVersion(browserVersion);
291+
const alternativeBrowserVersion = Version.parse(versionInformation['Versions.Target.Version']);
292+
this._breakOnLoadHelper.setBrowserVersion(alternativeBrowserVersion);
294293
}
295294
}
296295
} catch (exception) {

0 commit comments

Comments
 (0)