提交 37ab243f 编写于 作者: P Peng Lyu

setting query should always be string

上级 e5c1c225
......@@ -218,7 +218,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
when: null,
primary: KeyMod.CtrlCmd | KeyCode.US_COMMA,
handler: (accessor, args: string | undefined) => {
accessor.get(IPreferencesService).openSettings(undefined, args);
accessor.get(IPreferencesService).openSettings(undefined, typeof args === 'string' ? args : undefined);
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册