Skip to content

Commit d4a497d

Browse files
committed
Fix duplicate verbose output in New-SqlDscRole by removing manual Write-Verbose call
1 parent db26e3a commit d4a497d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3939
`System.Management.Automation.SwitchParameter` to follow PowerShell best practices.
4040
([issue #2190](https://github.com/dsccommunity/SqlServerDsc/issues/2190)).
4141
- `New-SqlDscRole`
42-
- Fixed duplicate verbose output by removing manual Write-Verbose call, as
43-
PSCmdlet.ShouldProcess already generates appropriate verbose output
42+
- Fixed duplicate verbose output by removing manual `Write-Verbose` call, as
43+
`$PSCmdlet.ShouldProcess()` already generates appropriate verbose output
4444
([issue #2156](https://github.com/dsccommunity/SqlServerDsc/issues/2156)).
4545
- `Set-SqlDscDatabaseProperty`
4646
- Fixed parameter types for database-scoped configuration properties from

0 commit comments

Comments
 (0)