Skip to content

Commit d5a9b53

Browse files
authored
replace tabs with 4-space (#8739)
1 parent df5050f commit d5a9b53

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

modules/openapi-generator/src/main/resources/powershell/Build.ps1.mustache

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ function Get-FunctionsToExport {
2222
throw $ParserErr
2323
} else {
2424
foreach ($name in 'Begin', 'Process', 'End') {
25-
foreach ($Statement in $Ast."${name}Block".Statements) {
26-
if (
25+
foreach ($Statement in $Ast."${name}Block".Statements) {
26+
if (
2727
[String]::IsNullOrWhiteSpace($Statement.Name) -or
2828
$Statement.Extent.ToString() -notmatch
2929
('function\W+{0}' -f $Statement.Name)
3030
) {
31-
continue
32-
}
31+
continue
32+
}
3333

34-
$Statement.Name
35-
}
34+
$Statement.Name
35+
}
3636
}
3737
}
3838
}

samples/client/petstore/powershell/Build.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ function Get-FunctionsToExport {
2828
throw $ParserErr
2929
} else {
3030
foreach ($name in 'Begin', 'Process', 'End') {
31-
foreach ($Statement in $Ast."${name}Block".Statements) {
32-
if (
31+
foreach ($Statement in $Ast."${name}Block".Statements) {
32+
if (
3333
[String]::IsNullOrWhiteSpace($Statement.Name) -or
3434
$Statement.Extent.ToString() -notmatch
3535
('function\W+{0}' -f $Statement.Name)
3636
) {
37-
continue
38-
}
37+
continue
38+
}
3939

40-
$Statement.Name
41-
}
40+
$Statement.Name
41+
}
4242
}
4343
}
4444
}

0 commit comments

Comments
 (0)