diff --git a/lua/cd-project/api.lua b/lua/cd-project/api.lua index 60c4405..39b8952 100644 --- a/lua/cd-project/api.lua +++ b/lua/cd-project/api.lua @@ -161,7 +161,7 @@ local function add_current_project(opts) if not project_dir then if opts.auto then - utils.log_err("Can't find project path of current file") + utils.log_error("Can't find project path of current file") return end project_dir = vim.fn.getcwd()