Skip to content

Commit f79d268

Browse files
committed
fix proposed error
1 parent f355bd8 commit f79d268

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

client/out/extension.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/src/extension.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ export function activate(context: vscode.ExtensionContext) {
1414
}
1515

1616
for (const k in context) {
17-
if (k != 'extensionPath'
18-
&& k != 'extensionRuntime') {
17+
try {
1918
luaDocContext[k] = context[k];
20-
}
19+
} catch (error) {}
2120
}
2221
luaDocContext.ViewType = 'lua-doc';
2322
luaDocContext.OpenCommand = 'extension.lua.doc';

0 commit comments

Comments
 (0)