aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-07-13 22:09:04 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-07-13 22:22:21 +0900
commitccc6a31ddeab78660305d9088e8260156b251779 (patch)
tree0b149dd597b60aa7d8d4c1cd0c7469cb2b87a9a6 /src
parent8db779388f260631286332aec6cb6a448a29d791 (diff)
fix
Diffstat (limited to 'src')
-rw-r--r--src/background/shared/completions/index.js2
-rw-r--r--src/console/reducers/index.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/background/shared/completions/index.js b/src/background/shared/completions/index.js
index 4fd37fd..d0d00ef 100644
--- a/src/background/shared/completions/index.js
+++ b/src/background/shared/completions/index.js
@@ -130,7 +130,7 @@ const complete = (line, settings) => {
let name = words[0];
if (words.length === 1) {
let items = completeCommands(name);
- if (items.length === 0) {
+ if (items.length === 0) {
return Promise.resolve([]);
}
return Promise.resolve([
diff --git a/src/console/reducers/index.js b/src/console/reducers/index.js
index 043689c..7dcad17 100644
--- a/src/console/reducers/index.js
+++ b/src/console/reducers/index.js
@@ -13,7 +13,7 @@ const defaultState = {
const nextSelection = (state) => {
if (state.completions.length === 0) {
return [-1, -1];
- };
+ }
if (state.groupSelection < 0) {
return [0, 0];
}