Skip to content

Commit 038f6eb

Browse files
author
Friedrich Weinmann
committed
fix Help and PSSA
1 parent 4168d57 commit 038f6eb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

PSModuleDevelopment/functions/templating/Invoke-PSMDTemplate.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@
6666
6767
Creates a project based on the module template with the name "MyModule"
6868
#>
69-
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseShouldProcessForStateChangingFunctions", "")]
70-
[CmdletBinding()]
69+
[CmdletBinding(SupportsShouldProcess = $true)]
7170
param (
7271
[Parameter(Mandatory = $true, ValueFromPipeline = $true, ParameterSetName = 'Template')]
7372
[PSModuleDevelopment.Template.TemplateInfo[]]

PSModuleDevelopment/functions/templating/New-PSMDTemplate.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
.PARAMETER Author
8787
The author of the template.
8888
89-
.PARAMETER Description.
89+
.PARAMETER Description
9090
A description text for the template itself.
9191
This will be visible to the user before invoking the template and should describe what this template is for.
9292

0 commit comments

Comments
 (0)