aws-amplify / amplify-cli

The AWS Amplify CLI is a toolchain for simplifying serverless web and mobile development.
Apache License 2.0
2.81k stars 819 forks source link

`amplify build`-related commands failing for Go Lambdas in Windows because of wrong argument to executeCommand #13790

Closed redjonzaci closed 2 months ago

redjonzaci commented 4 months ago

How did you install the Amplify CLI?

npm

If applicable, what version of Node.js are you using?

No response

Amplify CLI Version

12.12.0

What operating system are you using?

Windows

Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

no manual changes made.

Describe the bug

i cannot build Lambda functions in Go because of: https://github.com/aws-amplify/amplify-cli/blob/d583756cdb6d8012102a3a6e117e987e2e2da985/packages/amplify-go-function-runtime-provider/src/runtime.ts#L96 it passes go.exe as an argument to go command which is used inside executeCommand.

Expected behavior

should be able to build Go Lambda functions in Windows.

my https://github.com/aws-amplify/amplify-cli/pull/13789 PR should fix this.

Reproduction steps

try amplify build in Windows in a project that has Go Lambda functions.

Project Identifier

No response

Log output

No response

Additional information

No response

Before submitting, please confirm:

github-actions[bot] commented 2 months ago

This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.