Skip to content

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 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