Skip to content

Commit a6c2eec

Browse files
author
Friedrich Weinmann
committed
Updated PSSA Rules tags
1 parent 5549081 commit a6c2eec

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

PSModuleDevelopment/functions/templating/Invoke-PSMDTemplate.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
6464
Creates a project based on the module template with the name "MyModule"
6565
#>
66+
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseShouldProcessForStateChangingFunctions", "")]
6667
[CmdletBinding()]
6768
param (
6869
[Parameter(Mandatory = $true, ValueFromPipeline = $true, ParameterSetName = 'Template')]

PSModuleDevelopment/functions/templating/New-PSMDTemplate.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
9999
Creates a new template named 'functiontest', based on the content of '.\þnameþ.Test.ps1'
100100
#>
101+
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseShouldProcessForStateChangingFunctions", "")]
101102
[CmdletBinding(DefaultParameterSetName = 'Project')]
102103
param (
103104
[Parameter(Mandatory = $true, Position = 0, ParameterSetName = 'Project')]

PSModuleDevelopment/functions/templating/Remove-PSMDTemplate.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
122122
Removes the template stored in $template
123123
#>
124+
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseShouldProcessForStateChangingFunctions", "")]
124125
[CmdletBinding()]
125126
Param (
126127
[PSModuleDevelopment.Template.TemplateInfo]

0 commit comments

Comments
 (0)