aboutsummaryrefslogtreecommitdiff
path: root/src/background/usecases/command.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/usecases/command.js')
-rw-r--r--src/background/usecases/command.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/background/usecases/command.js b/src/background/usecases/command.js
index 3dbf768..7fd2e57 100644
--- a/src/background/usecases/command.js
+++ b/src/background/usecases/command.js
@@ -1,4 +1,5 @@
import * as parsers from './parsers';
+import * as urls from '../../shared/urls';
import TabPresenter from '../presenters/tab';
import WindowPresenter from '../presenters/window';
import SettingRepository from '../repositories/setting';
@@ -103,6 +104,6 @@ export default class CommandIndicator {
async urlOrSearch(keywords) {
let settings = await this.settingRepository.get();
- return parsers.normalizeUrl(keywords, settings.search);
+ return urls.normalizeUrl(keywords, settings.search);
}
}