Skip to content

Commit 2570d0c

Browse files
authored
fix: remove go.exe as argument to go command (#13789)
1 parent 2489d73 commit 2570d0c

File tree

1 file changed

+1
-1
lines changed
  • packages/amplify-go-function-runtime-provider/src

1 file changed

+1
-1
lines changed

packages/amplify-go-function-runtime-provider/src/runtime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export const buildResource = async ({ buildType, srcRoot, lastBuildTimeStamp }:
9393

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

9999
// for [email protected], dependencies must be manually installed

0 commit comments

Comments
 (0)