Skip to content

Commit

Permalink
chore: fix multi enumeration warning in TemplateManager (#10345)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp authored Nov 4, 2024
1 parent 334ec01 commit b492fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Docfx.Build/TemplateProcessors/TemplateManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void ProcessTheme(string outputDirectory, bool overwrite)
}
}

private bool TryExportResourceFiles(IEnumerable<string> resourceNames, string outputDirectory, bool overwrite, string? regexFilter = null)
private bool TryExportResourceFiles(List<string> resourceNames, string outputDirectory, bool overwrite, string? regexFilter = null)
{
ArgumentException.ThrowIfNullOrEmpty(outputDirectory);

Expand Down

0 comments on commit b492fd0

Please sign in to comment.