Skip to content

Commit

Permalink
unbreak fixup of references
Browse files Browse the repository at this point in the history
I'd deleted these lines earlier not knowing that that's how you do `return` in powerhell.

fixes #5
  • Loading branch information
timabell committed Apr 20, 2015
1 parent bbd287f commit d01baa3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Deploy-SSRSProject/Deploy-SSRSProject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ function New-SSRSReport (
$DataSource = New-Object -TypeName SSRS.ReportingService2010.DataSource
$DataSource.Item = $Reference
$DataSource.Name = $_.Name
$DataSource
}
if ($DataSources) {
$Proxy.SetItemDataSources($Folder + '/' + $Name, $DataSources)
Expand All @@ -241,6 +242,7 @@ function New-SSRSReport (
$Reference = New-Object -TypeName SSRS.ReportingService2010.ItemReference
$Reference.Reference = $DataSetPath
$Reference.Name = $_.Name
$Reference
}
}
if ($References) {
Expand Down

0 comments on commit d01baa3

Please sign in to comment.