Adding another null check to the FilterModuleBinaries msbuild task

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-10-20 00:17:55 -07:00
parent d329722c62
commit 9fc9e5287e

View File

@@ -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>(