提交 ada971a4 编写于 作者: B Benjamin Pasero

Crash in extension reading configuration values on startup (fixes #17807)

上级 c6a320c4
......@@ -82,7 +82,7 @@ export function getConfigurationValue<T>(config: any, settingPath: string, defau
let current = config;
for (let i = 0; i < path.length; i++) {
current = current[path[i]];
if (typeof current === 'undefined') {
if (typeof current === 'undefined' || current === null) {
return undefined;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册