From 716ab99fc04e0a02e24d3de20cdf0d3a368c1bf0 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Wed, 1 Apr 2020 21:13:55 -0400 Subject: [PATCH] Remove inconsistent/unused return value --- ext/bg/js/anki-note-builder.js | 4 +--- 1 file changed, 1 insertion(+), 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 } }