We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca27b94 commit 3aa9493Copy full SHA for 3aa9493
src/StaticWebAssetsSdk/Tasks/OverrideHtmlAssetPlaceholders.cs
@@ -93,10 +93,8 @@ public override bool Execute()
93
htmlFilesToRemove.Add(item);
94
95
string outputPath = Path.Combine(OutputPath, FileHasher.HashString(item.ItemSpec) + item.GetMetadata("Extension"));
96
- if (this.PersistFileIfChanged(Encoding.UTF8.GetBytes(outputContent), outputPath))
97
- {
98
- fileWrites.Add(outputPath);
99
- }
+ this.PersistFileIfChanged(Encoding.UTF8.GetBytes(outputContent), outputPath);
+ fileWrites.Add(outputPath);
100
101
var newItem = new TaskItem(outputPath, item.CloneCustomMetadata());
102
newItem.RemoveMetadata("OriginalItemSpec");
0 commit comments