diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-07-28 22:51:58 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-07-28 23:34:26 +0900 |
commit | f914d76ce8fecb74bbddb673595c32000d0fa78f (patch) | |
tree | 3be96652b4fc8268620c3d7a2eb7b582f34b0646 /src/background/repositories | |
parent | ed2bd7d75ee1e7aa1db7d03c3f908c740ded1983 (diff) |
Fix error on keyword not found
Diffstat (limited to 'src/background/repositories')
-rw-r--r-- | src/background/repositories/find.js | 3 |
1 files changed, 2 insertions, 1 deletions
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(); } } |