1 parent b123cb9 commit 8a0ca13Copy full SHA for 8a0ca13
1 file changed
packages/lsp-server/src/common/features/diagnostics.ts
@@ -300,7 +300,7 @@ export class DiagnosticsFeature implements Feature {
300
}
301
302
private getBrowserCustomRootCompatFilterInput(): BrowserCustomRootCompatFilterInput {
303
- const runtimeMode = this.beanMgr?.getRuntimeStatus().mode ?? 'off';
+ const runtimeMode = this.beanMgr?.getRuntimeStatus?.().mode ?? 'off';
304
const validRootAccounts = this.optionsManager.getValidRootAccounts();
305
const customNonAsciiRoots = new Set<string>();
306
for (const name of ROOT_OPTION_NAMES) {
0 commit comments