From 5dd874d2ab59a496d6755650def00bcb2eb6d96a Mon Sep 17 00:00:00 2001 From: NotCreative21 Date: Sun, 3 Apr 2022 23:42:38 -0400 Subject: [PATCH] fix additional cause of error --- lua/presence/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/presence/init.lua b/lua/presence/init.lua index aceeda7..56e76e9 100644 --- a/lua/presence/init.lua +++ b/lua/presence/init.lua @@ -774,7 +774,7 @@ function Presence:update_for_buffer(buffer, should_debounce) end -- Get project information - self.log:debug(string.format("Getting project name for %s...", parent_dirpath)) + self.log:debug(string.format("Getting project name for %s...", parent_dirpath or "no")) local project_name, project_path = self:get_project_name(parent_dirpath) -- Check for blacklist