mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +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