From 61d05dbae3083976a9aab48dca8260752b951865 Mon Sep 17 00:00:00 2001 From: Bryan Date: Tue, 17 Sep 2024 20:27:20 -0600 Subject: [PATCH] fix? --- lua/cd-project/api.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/cd-project/api.lua b/lua/cd-project/api.lua index ef38314..60c4405 100644 --- a/lua/cd-project/api.lua +++ b/lua/cd-project/api.lua @@ -161,7 +161,8 @@ local function add_current_project(opts) if not project_dir then if opts.auto then - return utils.log_err("Can't find project path of current file") + utils.log_err("Can't find project path of current file") + return end project_dir = vim.fn.getcwd() end