Skip to content

Conversation

@Will-ShaoHua
Copy link
Contributor

@Will-ShaoHua Will-ShaoHua commented Oct 27, 2024

Problem

Using extractClasses with path as file content incorrectly, so always returns empty list.

Solution

Fix the call.
fix #5864


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

@Will-ShaoHua Will-ShaoHua requested a review from a team as a code owner October 27, 2024 15:44
@github-actions
Copy link

This pull request modifies code in src/ but no tests were added/updated. Confirm whether tests should be added or ensure the PR description explains why tests are not required.

@github-actions
Copy link

This pull request implements a feature or fix, so it must include a changelog entry. See CONTRIBUTING.md#changelog for instructions.

@Will-ShaoHua Will-ShaoHua changed the title fix utg findSourceFileByContent path doesn't pass correct testFileCon… fix(amazonq): fix utg findSourceFileByContent path doesn't pass correct test file context while extracting classes elements Oct 27, 2024
@justinmk3 justinmk3 changed the title fix(amazonq): fix utg findSourceFileByContent path doesn't pass correct test file context while extracting classes elements fix(amazonq): utg findSourceFileByContent passes pass wrong context Oct 28, 2024
@justinmk3 justinmk3 merged commit caba5dd into aws:master Oct 28, 2024
38 of 57 checks passed
@Will-ShaoHua Will-ShaoHua deleted the utg branch October 28, 2024 20:48
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.

Call to extractClasses seems to use path as file content incorrectly.

3 participants