Skip to content

Conversation

martinschaef
Copy link
Contributor

Issue #, if available:

If the -s and -b options are used, but -b is a sub-folder of -s then build artifacts get packaged into the source and build archives.

E.g., if you run aws-codeguru-cli -r ./ -b ./target, the target folder will be uploaded twice (once as part of the source artifacts, and once separately), which creates unnecessary latency and may even create duplicated findings.

Description of changes:

If the -b option is used, filter all provided build artifact folders from the regular inputs.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@martinschaef martinschaef requested a review from awsgaucho May 17, 2023 20:16
@martinschaef martinschaef merged commit 8957ced into aws:main May 19, 2023
@martinschaef martinschaef deleted the packing branch May 19, 2023 13:54
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

Successfully merging this pull request may close these issues.

2 participants