Skip to content

Commit 7f3c403

Browse files
committed
Fix formatting issues
1 parent 2e86144 commit 7f3c403

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/PSAppDeployToolkit.Tools/PSScriptAnalyzer/Measure-ADTCompatibility.psm1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ function Measure-ADTCompatibility
1616
{
1717
[CmdletBinding()]
1818
[OutputType([Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.DiagnosticRecord])]
19-
Param
19+
param
2020
(
2121
[Parameter(Mandatory = $true)]
2222
[ValidateNotNullOrEmpty()]
2323
[System.Management.Automation.Language.ScriptBlockAst]
2424
$ScriptBlockAst
2525
)
2626

27-
Begin
27+
begin
2828
{
2929
if ($ScriptBlockAst.Parent) { return } # Only process the root ScriptBlockAst
3030

@@ -848,7 +848,7 @@ function Measure-ADTCompatibility
848848
[Boolean]$ContinueOnError
849849
)
850850
}
851-
If (-not (Get-Command -Name 'Get-ScheduledTask' -ErrorAction 'SilentlyContinue'))
851+
if (-not (Get-Command -Name 'Get-ScheduledTask' -ErrorAction 'SilentlyContinue'))
852852
{
853853
New-Alias -Name 'Get-ScheduledTask' -Value 'Get-SchedulerTask'
854854
}
@@ -2606,7 +2606,7 @@ function Measure-ADTCompatibility
26062606
$spBinder = [System.Management.Automation.Language.StaticParameterBinder]
26072607
}
26082608

2609-
Process
2609+
process
26102610
{
26112611
try
26122612
{

0 commit comments

Comments
 (0)