Skip to content

Commit

Permalink
fix multi enumeration warning in TemplateManager
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Nov 3, 2024
1 parent 3342549 commit 9bab4a3
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 9bab4a3

Please sign in to comment.