aboutsummaryrefslogtreecommitdiff
path: root/lua/muwiki/health.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/muwiki/health.lua')
-rw-r--r--lua/muwiki/health.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/muwiki/health.lua b/lua/muwiki/health.lua
index 2dfd45b..22c9747 100644
--- a/lua/muwiki/health.lua
+++ b/lua/muwiki/health.lua
@@ -1,5 +1,5 @@
-local io_module = require('muwiki.io')
+local utils = require('muwiki.utils')
local M = {}
@@ -26,7 +26,7 @@ M.check = function()
vim.health.info('Add to your config: dirs = {{name = "default", path = "~/wiki"}}')
else
for _, dir in ipairs(cfg.dirs) do
- if io_module.dir_exists(dir.path) then
+ if utils.dir_exists(dir.path) then
vim.health.ok(string.format("Wiki '%s': %s", dir.name, dir.path))
else
vim.health.warn(string.format("Wiki '%s': %s (not found)", dir.name, dir.path))