aws / aws-toolkit-vscode

Amazon Q, CodeCatalyst, Local Lambda debug, SAM/CFN syntax, ECS Terminal, AWS resources
https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.amazon-q-vscode
Apache License 2.0
1.47k stars 409 forks source link

fix(access analyzer): broken path #5291

Closed alankuo-aws closed 2 months ago

alankuo-aws commented 2 months ago

Problem

The refactor that moved AWS services to the awsService folder (https://github.com/aws/aws-toolkit-vscode/commit/198d2c9946adfd2a0f0c4ff567a8da2a985c72e6) broke the Access Analyzer integration, since sourcePath was hardcoded to src/accessanalyzer/vue/index.js. The integration UI is blank.

Solution

Include awsService in sourcePath. The integration UI shows up after the fix.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

alankuo-aws commented 2 months ago

UI shows up after making the change to sourcePath:

Screenshot 2024-07-10 at 3 39 13 PM