diff --git a/build_common.ps1 b/build_common.ps1 index 44b77f6..9acca21 100644 --- a/build_common.ps1 +++ b/build_common.ps1 @@ -599,7 +599,7 @@ class BuildProject { $sfMapsNames = @() if (-not(Test-Path $contentForCookPath)) { - if ($sfCollectionOnlyMapsNames.Length -lt 1) { + if ($sfCollectionOnlyMapsNames.Length -gt 0) { ThrowFailure "Collection map cooking is requested, but no ContentForCook folder is present" }