Skip to content

Commit 3fef85d

Browse files
authored
Merge pull request #51 from pledbrook/patch-1
Fix build error when cooking maps
2 parents 7bc79b5 + 53cc89e commit 3fef85d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build_common.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ class BuildProject {
611611
$sfMapsNames = @(Get-ChildItem -Path "$contentForCookPath/Maps" -Recurse -Include *.umap | ForEach-Object { $_.BaseName })
612612

613613
# Allow using the force-package-into-map functionality for non-empty maps
614-
$sfCollectionOnlyMapsNames = $sfCollectionOnlyMapsNames | Where-Object { $sfMapsNames -notcontains $_ }
614+
$sfCollectionOnlyMapsNames = @($sfCollectionOnlyMapsNames | Where-Object { $sfMapsNames -notcontains $_ })
615615
}
616616

617617
if (Test-Path "$contentForCookPath/Standalone") {

0 commit comments

Comments
 (0)