From f914d76ce8fecb74bbddb673595c32000d0fa78f Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sat, 28 Jul 2018 22:51:58 +0900 Subject: Fix error on keyword not found --- src/background/repositories/find.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/background/repositories') diff --git a/src/background/repositories/find.js b/src/background/repositories/find.js index 9482e78..6656c58 100644 --- a/src/background/repositories/find.js +++ b/src/background/repositories/find.js @@ -12,7 +12,8 @@ export default class FindRepository { } setKeyword(keyword) { - return this.cache.set(FIND_KEYWORD_KEY, keyword); + this.cache.set(FIND_KEYWORD_KEY, keyword); + return Promise.resolve(); } } -- cgit v1.2.3