aboutsummaryrefslogtreecommitdiff
path: root/ext/js/pages/settings/anki-controller.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-12-10 19:21:14 -0500
committerGitHub <noreply@github.com>2023-12-11 00:21:14 +0000
commite9dde826df738c4094709804d72de4991b377a8a (patch)
tree22e20851ea92868e29e0afe70e745fcc306661b1 /ext/js/pages/settings/anki-controller.js
parenta6c57cc4d7ffeff16320e1d27280ac752fb80e21 (diff)
Change no-console to error, only for ext files (#352)
Diffstat (limited to 'ext/js/pages/settings/anki-controller.js')
-rw-r--r--ext/js/pages/settings/anki-controller.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/js/pages/settings/anki-controller.js b/ext/js/pages/settings/anki-controller.js
index 05bfdadc..737cc04a 100644
--- a/ext/js/pages/settings/anki-controller.js
+++ b/ext/js/pages/settings/anki-controller.js
@@ -272,6 +272,7 @@ export class AnkiController {
/** */
_onAnkiErrorLogLinkClick() {
if (this._ankiError === null) { return; }
+ // eslint-disable-next-line no-console
console.log({error: this._ankiError});
}