replace tabs with 4-space (#8739)

This commit is contained in:
William Cheng
2021-02-19 10:54:55 +08:00
committed by GitHub
parent df5050f3b0
commit d5a9b53bdc
2 changed files with 12 additions and 12 deletions

View File

@@ -28,17 +28,17 @@ function Get-FunctionsToExport {
throw $ParserErr
} else {
foreach ($name in 'Begin', 'Process', 'End') {
foreach ($Statement in $Ast."${name}Block".Statements) {
if (
foreach ($Statement in $Ast."${name}Block".Statements) {
if (
[String]::IsNullOrWhiteSpace($Statement.Name) -or
$Statement.Extent.ToString() -notmatch
('function\W+{0}' -f $Statement.Name)
) {
continue
}
continue
}
$Statement.Name
}
$Statement.Name
}
}
}
}