Skip to content

Commit

Permalink
Import-BacpacToSqlServer: Fixing analyzer warning suppressions
Browse files Browse the repository at this point in the history
  • Loading branch information
BenedekFarkas committed Mar 5, 2024
1 parent 06a6741 commit 3d0ab83
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@
function Import-BacpacToSqlServer
{
[Diagnostics.CodeAnalysis.SuppressMessage(
'AvoidUsingUsernameAndPasswordParams',
'',
'PSAvoidUsingUsernameAndPasswordParams',
Justification = 'We need to pass the user name and password to SqlPackage.')]
[Diagnostics.CodeAnalysis.SuppressMessage(
'AvoidUsingPlainTextForPassword',
'',
'PSAvoidUsingPlainTextForPassword',
Justification = 'SqlPackage needs the password as plain text.')]
[CmdletBinding(DefaultParameterSetName = 'ByConnectionParameters')]
[Alias('ipbpss')]
Expand Down

0 comments on commit 3d0ab83

Please sign in to comment.