diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-04-01 21:13:55 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-04-07 19:04:47 -0400 |
commit | 716ab99fc04e0a02e24d3de20cdf0d3a368c1bf0 (patch) | |
tree | 3b264d2ef34a6251097bcf2db19b8b74878f921a | |
parent | 97b7b521dd73251dcfb0799793929395e03c8328 (diff) |
Remove inconsistent/unused return value
-rw-r--r-- | ext/bg/js/anki-note-builder.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/bg/js/anki-note-builder.js b/ext/bg/js/anki-note-builder.js index e396bec6..0e17783b 100644 --- a/ext/bg/js/anki-note-builder.js +++ b/ext/bg/js/anki-note-builder.js @@ -96,10 +96,8 @@ class AnkiNoteBuilder { if (filename !== null) { definition.audio = {url: uri, filename}; } - - return true; } catch (e) { - return false; + // NOP } } |