From 1ac14cd633b3a99a3dd8ec8d0ec29158077b3798 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sat, 10 Sep 2016 22:51:04 -0700 Subject: WIP --- ext/bg/js/translator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/bg/js') diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js index 9987f820..9b7b4bf5 100644 --- a/ext/bg/js/translator.js +++ b/ext/bg/js/translator.js @@ -73,7 +73,7 @@ class Translator { ); } - return Promise.all(deinflectPromises).then(Promise.resolve(groups)); + return Promise.all(deinflectPromises).then(() => groups); } findTerm(text) { -- cgit v1.2.3