mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Adding Word files to excluded extensions
This commit is contained in:
@@ -108,7 +108,7 @@ namespace MSBuild.Orchard.Tasks {
|
||||
}
|
||||
|
||||
private static bool IsValidExcludeFile(string filePath) {
|
||||
var validExtensions = new[] { ".sass", ".scss", ".less", ".coffee", ".ls", ".ts", ".md", };
|
||||
var validExtensions = new[] { ".sass", ".scss", ".less", ".coffee", ".ls", ".ts", ".md", ".docx" };
|
||||
if (string.IsNullOrEmpty(filePath)) return true;
|
||||
|
||||
var fileExtension = Path.GetExtension(filePath);
|
||||
|
||||
Reference in New Issue
Block a user