Fix lint errors

This commit is contained in:
Kevin Sawicki 2016-06-21 09:07:56 -07:00
parent 395c372702
commit fbfac6d49b

View file

@ -76,7 +76,7 @@ const MenuItem = (function () {
if (this.role && rolesMap[this.role] && process.platform !== 'darwin' && (focusedWindow != null)) {
const methodName = rolesMap[this.role]
if(methodInApp[methodName]) {
if (methodInApp[methodName]) {
return app[methodName]()
} else if (methodInBrowserWindow[methodName]) {
return focusedWindow[methodName]()