diff --git a/mage_helpers/build.go b/mage_helpers/build.go index 0a29383070a70489d039d314f6dcd97d201cfdc0..cfa254749f58e70b104224e5e3e181339cc111af 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 }