summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-01 21:13:55 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-07 19:04:47 -0400
commit716ab99fc04e0a02e24d3de20cdf0d3a368c1bf0 (patch)
tree3b264d2ef34a6251097bcf2db19b8b74878f921a
parent97b7b521dd73251dcfb0799793929395e03c8328 (diff)
Remove inconsistent/unused return value
-rw-r--r--ext/bg/js/anki-note-builder.js4
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
}
}