Skip to content

Commit

Permalink
🐛 remove duplicate -TrustedConnection parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
FH-Inway committed Oct 21, 2023
1 parent 66147ce commit 49ae41c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions d365fo.tools/functions/import-d365bacpac.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -363,14 +363,14 @@ function Import-D365Bacpac {
else {
Write-PSFMessage -Level Verbose "Building sql statement to update the imported SQL database"

$res = Set-SqlBacpacValues @Params -TrustedConnection $UseTrustedConnection
$res = Set-SqlBacpacValues @Params

if (-not ($res)) { return }
}

if ($ExecuteCustomSQL) {
Write-PSFMessage -Level Verbose -Message "Invoking the Execution of custom SQL script"
$res = Invoke-D365SqlScript @Params -FilePath $CustomSqlFile -TrustedConnection $UseTrustedConnection
$res = Invoke-D365SqlScript @Params -FilePath $CustomSqlFile

if (-not ($res)) { return }
}
Expand Down

0 comments on commit 49ae41c

Please sign in to comment.