From 45329f4d6900a8c61a1dae376813eb6444d8c5f1 Mon Sep 17 00:00:00 2001 From: Harrison Cramer Date: Fri, 8 Sep 2023 09:44:00 -0400 Subject: [PATCH] Bugfix: Fix build, missing relative path --- lua/gitlab/server.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/gitlab/server.lua b/lua/gitlab/server.lua index a6ac5ce..765bc97 100644 --- a/lua/gitlab/server.lua +++ b/lua/gitlab/server.lua @@ -54,8 +54,8 @@ M.build = function(override) end local cmd = u.is_windows() and - 'cd cmd && go build -o bin.exe && move bin.exe ..\\' or - 'cd cmd && go build -o bin && mv bin ../bin' + 'cd %s\\cmd && go build -o bin.exe && move bin.exe ..\\' or + 'cd %s/cmd && go build -o bin && mv bin ../bin' local command = string.format(cmd, state.settings.bin_path) local null = u.is_windows() and " >NUL" or " > /dev/null"