diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-11-26 22:01:54 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-11-26 22:06:27 -0500 |
commit | 5a1046bc906a74ca39906a52acc62fc702a658f2 (patch) | |
tree | 7c484f245a19d01be9fbf4120cfa222c97363a24 /ext/bg/js/api.js | |
parent | 63a775ebcafc8d0477bc267ef39e40c4d3283666 (diff) |
Update arrow-parens to always
Diffstat (limited to 'ext/bg/js/api.js')
-rw-r--r-- | ext/bg/js/api.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/api.js b/ext/bg/js/api.js index d5256acb..b489b8d2 100644 --- a/ext/bg/js/api.js +++ b/ext/bg/js/api.js @@ -207,7 +207,7 @@ async function apiDefinitionsAddable(definitions, modes, optionsContext) { } if (cannotAdd.length > 0) { - const noteIdsArray = await anki.findNoteIds(cannotAdd.map(e => e[0])); + const noteIdsArray = await anki.findNoteIds(cannotAdd.map((e) => e[0])); for (let i = 0, ii = Math.min(cannotAdd.length, noteIdsArray.length); i < ii; ++i) { const noteIds = noteIdsArray[i]; if (noteIds.length > 0) { |