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

[Static Web Assets] Resolve tokens on the generated initializers module manifest #41533

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

javiercn
Copy link
Member

Another location that we didn't discover

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged Request triage from a team member label Jun 11, 2024
Copy link

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

1 similar comment
Copy link

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@@ -24,7 +24,7 @@ public class GenerateJSModuleManifest : Task

public override bool Execute()
{
var modules = JsModules.Select(StaticWebAsset.FromTaskItem).Select(s => s.ComputeTargetPath("", '/')).ToArray();
var modules = JsModules.Select(StaticWebAsset.FromTaskItem).Select(s => s.ComputeTargetPath("", '/', StaticWebAssetTokenResolver.Instance)).ToArray();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've looked at all the other instances of ComputeTargetPath this was the only one missing.

@javiercn javiercn marked this pull request as ready for review June 11, 2024 21:36
@javiercn javiercn enabled auto-merge (squash) June 11, 2024 23:00
@javiercn javiercn merged commit 432d26c into main Jun 12, 2024
36 checks passed
@javiercn javiercn deleted the javiercn/fix-initializers-manifest branch June 12, 2024 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants