提交 7d460f59 编写于 作者: A Alex Dima

Fix strict null check

上级 7b281dae
......@@ -571,6 +571,7 @@ export class WorkbenchKeybindingService extends AbstractKeybindingService {
}
let schemaId = 'vscode://schemas/keybindings';
let commandsSchemas: IJSONSchema[] = [];
let schema: IJSONSchema = {
'id': schemaId,
'type': 'array',
......@@ -614,7 +615,7 @@ let schema: IJSONSchema = {
'description': nls.localize('keybindings.json.args', "Arguments to pass to the command to execute.")
}
},
'allOf': []
'allOf': commandsSchemas
}
};
......@@ -643,7 +644,7 @@ function updateSchema() {
}
};
schema['items']['allOf'].push(addition);
commandsSchemas.push(addition);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册