mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Triple equals for keybinding find.
This commit is contained in:
parent
c1d3334fc2
commit
e70d11da0b
|
@ -134,7 +134,7 @@ export class SpectronApplication {
|
|||
* @param command command (e.g. 'workbench.action.files.newUntitledFile')
|
||||
*/
|
||||
public command(command: string, capture?: boolean): Promise<any> {
|
||||
const binding = this.keybindings.find(x => x['command'] == command);
|
||||
const binding = this.keybindings.find(x => x['command'] === command);
|
||||
const keys: string = binding.key;
|
||||
let keysToPress: string[] = [];
|
||||
|
||||
|
|
Loading…
Reference in a new issue