Add 'await' keyword at async function call and remove unnecessary parameter

This commit is contained in:
youngjoo88kim
2018-02-28 18:48:12 +09:00
parent f96ed6ff21
commit 9d55753ccb
2 changed files with 3 additions and 3 deletions

View File

@@ -201,7 +201,7 @@ class ApplicationMenu {
if (item.command) {
item.accelerator = this.acceleratorForCommand(item.command, keystrokesByCommand)
item.click = () => global.atomApplication.sendCommand(item.command, item.commandDetail)
if (!/^application:/.test(item.command, item.commandDetail)) {
if (!/^application:/.test(item.command)) {
item.metadata.windowSpecific = true
}
}