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(amazonq): set programmingLanguage to Plaintext if language is unknown #5515

Merged
merged 3 commits into from
Mar 27, 2025

Conversation

atonaamz
Copy link
Contributor

@atonaamz atonaamz commented Mar 26, 2025

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Description

Sometimes scans are not triggered due to the scan type being unknown.
The solution is to set programmingLanguage to Plaintext if language is unknown.
The change was tested locally by triggering file scan against plaintext files.

Checklist

  • My code follows the code style of this project
  • I have added tests to cover my changes
  • A short description of the change has been added to the CHANGELOG if the change is customer-facing in the IDE.
  • I have added metrics for my changes (if required)

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

@atonaamz atonaamz requested review from a team as code owners March 26, 2025 17:44
@atonaamz atonaamz changed the title /review: set CodeWhispererLanguage to Plaintext for CodeWhispererUnkn… fix(amazonq): set CodeWhispererLanguage to Plaintext for CodeWhispererUnkn… Mar 26, 2025
@atonaamz atonaamz changed the title fix(amazonq): set CodeWhispererLanguage to Plaintext for CodeWhispererUnkn… fix(amazonq): set CodeWhispererLanguage to Plaintext by default Mar 26, 2025
@atonaamz atonaamz force-pushed the plaintextfix branch 2 times, most recently from a9c4d0d to 330c406 Compare March 26, 2025 22:57
@atonaamz atonaamz changed the title fix(amazonq): set CodeWhispererLanguage to Plaintext by default fix(amazonq): set programmingLanguage to Plaintext if language is unknown Mar 26, 2025
@atonaamz atonaamz enabled auto-merge (squash) March 27, 2025 23:06
@atonaamz atonaamz merged commit 4ca3c89 into aws:main Mar 27, 2025
13 of 14 checks passed
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.

3 participants