Bug 1337457 - ESlint fix a=bustage

MozReview-Commit-ID: 3HqVQVkN8hf
This commit is contained in:
Wes Kocher 2017-03-02 10:54:52 -08:00
parent b9ff582762
commit 3656974fa2

View File

@ -77,7 +77,7 @@ CommandList.prototype = {
for (let [name, command] of Object.entries(manifest.commands)) {
let suggested_key = command.suggested_key || {};
let shortcut = suggested_key[os] || suggested_key.default;
shortcut = shortcut ? shortcut.replace(/\s+/g, "") : null,
shortcut = shortcut ? shortcut.replace(/\s+/g, "") : null;
commands.set(name, {
description: command.description,
shortcut,