Skip to content

Commit 602a706

Browse files
author
Kapil Borle
committed
Fix createModule task in build script
1 parent 6f02e61 commit 602a706

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.build.ps1

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,12 @@ task createModule {
173173
elseif ($Configuration -match 'PSv3') {
174174
$destinationDirBinaries = "$destinationDir\PSv3"
175175
}
176-
}
176+
else {
177+
$destinationDirBinaries = $destinationDir
178+
}
177179

178-
CopyToDestinationDir $itemsToCopyBinaries $destinationDirBinaries
180+
CopyToDestinationDir $itemsToCopyBinaries $destinationDirBinaries
181+
}
179182

180183
# copy newtonsoft dll if net451 framework
181184
if ($Framework -eq "net451") {

0 commit comments

Comments
 (0)