From 03d1ba9685cf4c0e6aa652ac78a19a1163ac50df Mon Sep 17 00:00:00 2001 From: Mark Wardle Date: Wed, 27 Oct 2021 10:16:02 +0100 Subject: [PATCH] Include db when specifying locale. --- cmd/com/eldrix/hermes/cmd/core.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/com/eldrix/hermes/cmd/core.clj b/cmd/com/eldrix/hermes/cmd/core.clj index f0f3dc3a..546594fc 100644 --- a/cmd/com/eldrix/hermes/cmd/core.clj +++ b/cmd/com/eldrix/hermes/cmd/core.clj @@ -37,7 +37,7 @@ (if db (if (str/blank? locale) (hermes/build-search-index db) - (hermes/build-search-index locale)) + (hermes/build-search-index db locale)) (log/error "no database directory specified"))) (defn compact [{:keys [db]} _]