File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,20 @@ Pop-Location
1111if ($FormatAndExecuteTestsAgain ) {
1212 Push-Location src
1313 Push-Location FluentAssertions.Analyzers.FluentAssertionAnalyzerDocs
14- dotnet format analyzers -- diagnostics FAA0001 FAA0003 FAA0004 -- severity info -- verbosity normal
14+
15+ $i = 1 ;
16+ do {
17+ Write-Host " formatting code... - Iteration $i "
18+ $out = dotnet format analyzers -- diagnostics FAA0001 FAA0003 FAA0004 -- severity info -- verbosity normal 2>&1 | Out-String | Join-String
19+
20+ Write-Host " -------------$i -------------"
21+ Write-Host $out
22+ Write-Host " -------------$i -------------"
23+ Write-Host " output length: $ ( $out.Length ) "
24+
25+ $i ++
26+ } while ($out.Contains (" Unable to fix FAA000" ))
27+
1528 Pop-Location
1629 Pop-Location
1730
@@ -20,4 +33,4 @@ if ($FormatAndExecuteTestsAgain) {
2033 dotnet run verify
2134 Pop-Location
2235 Pop-Location
23- }
36+ }
You can’t perform that action at this time.
0 commit comments