Skip to content

Commit d01baa3

Browse files
committed
unbreak fixup of references
I'd deleted these lines earlier not knowing that that's how you do `return` in powerhell. fixes #5
1 parent bbd287f commit d01baa3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Deploy-SSRSProject/Deploy-SSRSProject.ps1

+2
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ function New-SSRSReport (
228228
$DataSource = New-Object -TypeName SSRS.ReportingService2010.DataSource
229229
$DataSource.Item = $Reference
230230
$DataSource.Name = $_.Name
231+
$DataSource
231232
}
232233
if ($DataSources) {
233234
$Proxy.SetItemDataSources($Folder + '/' + $Name, $DataSources)
@@ -241,6 +242,7 @@ function New-SSRSReport (
241242
$Reference = New-Object -TypeName SSRS.ReportingService2010.ItemReference
242243
$Reference.Reference = $DataSetPath
243244
$Reference.Name = $_.Name
245+
$Reference
244246
}
245247
}
246248
if ($References) {

0 commit comments

Comments
 (0)