Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove go.exe as argument to go command #13789

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: remove go.exe as argument to go command
redjonzaci authored May 22, 2024
commit 54204f31ec22d17712791d12699baa47addd810d
Original file line number Diff line number Diff line change
@@ -93,7 +93,7 @@ export const buildResource = async ({ buildType, srcRoot, lastBuildTimeStamp }:

if (isWindows) {
envVars.CGO_ENABLED = 0;
executeCommand(['go.exe', 'install', 'github.com/aws/aws-lambda-go/cmd/build-lambda-zip@latest'], true, envVars, srcDir);
executeCommand(['install', 'github.com/aws/aws-lambda-go/cmd/build-lambda-zip@latest'], true, envVars, srcDir);
}

// for go@1.16, dependencies must be manually installed