From 348b4383ed9371f7ead4742c7e06c84e53d2454d Mon Sep 17 00:00:00 2001 From: Dheepak Krishnamurthy Date: Fri, 1 May 2020 15:33:02 -0600 Subject: [PATCH] Fix getcwd function call --- lua/lazygit.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazygit.lua b/lua/lazygit.lua index 7493e72..034337d 100644 --- a/lua/lazygit.lua +++ b/lua/lazygit.lua @@ -27,7 +27,7 @@ local function project_root_dir() end -- just return current working directory - return fn.getcwd() + return fn.getcwd(0, 0) end local function exec_lazygit_command(cmd)