mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
Triple equals for keybinding find.
This commit is contained in:
@@ -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[] = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user