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

Tools/src/checkstyle.sh refers to non-existent Tools/bin/goimports #596

Open
markshep-wbg opened this issue Nov 2, 2024 · 0 comments
Open

Comments

@markshep-wbg
Copy link

This causes these error messages to be output during the build:

/Users/mark.sheppard/code/amazon-ssm-agent/Tools/src/checkstyle.sh: line 37: Tools/bin/goimports: No such file or directory
/Users/mark.sheppard/code/amazon-ssm-agent/Tools/src/checkstyle.sh: line 47: Tools/bin/goimports: No such file or directory
/Users/mark.sheppard/code/amazon-ssm-agent/Tools/src/checkstyle.sh: line 57: Tools/bin/goimports: No such file or directory

Fixing that by changing Tools/bin/goimports to be just goimports then causes the build to fail:

Error: Found files not formatted by goimports
/Users/mark.sheppard/code/amazon-ssm-agent/agent/fileutil/artifact/artifact_integ_test.go
/Users/mark.sheppard/code/amazon-ssm-agent/agent/plugins/dockercontainer/dockercontainer_test.go
/Users/mark.sheppard/code/amazon-ssm-agent/agent/plugins/domainjoin/domainjoin_common.go
/Users/mark.sheppard/code/amazon-ssm-agent/agent/ssm/authtokenrequest/authtokenrequest_client.go
/Users/mark.sheppard/code/amazon-ssm-agent/agent/ssm/util/util_test.go
/Users/mark.sheppard/code/amazon-ssm-agent/agent/update/processor/processor.go
Please run 'goimports -w' for files listed.
make: *** [makefile:21: checkstyle] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant