提交 e6b7eb0f 编写于 作者: M Matt Bierner

Fix test for undefined deref

上级 2a4cf4f6
......@@ -1686,7 +1686,7 @@ export class EditorOptionsValidator {
matchBrackets: _boolean(opts.matchBrackets, defaults.matchBrackets),
find: find,
colorDecorators: _boolean(opts.colorDecorators, defaults.colorDecorators),
lightbulbEnabled: _boolean(opts.lightbulb.enabled, defaults.lightbulbEnabled)
lightbulbEnabled: _boolean(opts.lightbulb && opts.lightbulb.enabled, defaults.lightbulbEnabled)
};
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册