From b585f0711f25b6b9b73c29284d8a336436b31743 Mon Sep 17 00:00:00 2001
From: jano3 <jano@bob.co.za>
Date: Thu, 14 Dec 2023 13:47:16 +0200
Subject: [PATCH] Copy wkhtmltopdf lib files to build dir: fixed

---
 mage_helpers/build.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mage_helpers/build.go b/mage_helpers/build.go
index 0a29383..cfa2547 100644
--- a/mage_helpers/build.go
+++ b/mage_helpers/build.go
@@ -73,7 +73,7 @@ func Build(dir string, module string, isDebug bool) error {
 	wkhtmltopdfDir := currentDir + "/cdk/src/lambda/wkhtmltopdf"
 	_, err = os.Stat(wkhtmltopdfDir)
 	if err == nil {
-		err = copyFilesToBuildDir(wkhtmltopdfDir, outputDir+"/wkhtmltopdf", true)
+		err = copyFilesToBuildDir(wkhtmltopdfDir, outputDir, true)
 		if err != nil {
 			return err
 		}
-- 
GitLab