summaryrefslogtreecommitdiff
path: root/ext/bg/js/search-query-parser.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-11-25 14:28:52 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-11-26 22:06:27 -0500
commitef833d2bea07cd2e979dd558eaba141f880063cb (patch)
tree8dfe91d86231fbc9aed7560bd35aabcfd8e34af7 /ext/bg/js/search-query-parser.js
parent527595f79bf97bc2d17cb821c8bb6b4e8b6776f9 (diff)
Use const rather than let where possible
Diffstat (limited to 'ext/bg/js/search-query-parser.js')
-rw-r--r--ext/bg/js/search-query-parser.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/search-query-parser.js b/ext/bg/js/search-query-parser.js
index 1a43347c..2bf24ce3 100644
--- a/ext/bg/js/search-query-parser.js
+++ b/ext/bg/js/search-query-parser.js
@@ -134,7 +134,7 @@ class QueryParser {
});
}
if (this.search.options.parsing.enableMecabParser) {
- let mecabResults = await apiTextParseMecab(text, this.search.getOptionsContext());
+ const mecabResults = await apiTextParseMecab(text, this.search.getOptionsContext());
for (const mecabDictName in mecabResults) {
results.push({
name: `MeCab: ${mecabDictName}`,