mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Adding another null check to the FilterModuleBinaries msbuild task
--HG-- branch : dev
This commit is contained in:
@@ -14,7 +14,7 @@ namespace MSBuild.Orchard.Tasks {
|
||||
public ITaskItem[] ExcludedBinaries { get; set; }
|
||||
|
||||
public override bool Execute() {
|
||||
if (OrchardWebBinaries == null)
|
||||
if (ModulesBinaries == null || OrchardWebBinaries == null)
|
||||
return true;
|
||||
|
||||
var orchardWebAssemblies = new HashSet<string>(
|
||||
|
Reference in New Issue
Block a user