Skip to content

Commit

Permalink
feat(AnalyzerCommand): Sort output of found definition files
Browse files Browse the repository at this point in the history
Resolves #9807.

Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Jan 22, 2025
1 parent c2f1546 commit c9f51e9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions plugins/commands/analyzer/src/main/kotlin/AnalyzerCommand.kt
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,10 @@ class AnalyzerCommand(descriptor: PluginDescriptor = AnalyzerCommandFactory.desc
count += files.size
echo("Found ${files.size} $manager definition file(s) at:")

files.forEach { file ->
val relativePath = file.toRelativeString(inputDir).ifEmpty { "." }
echo("\t$relativePath")
files.map {
it.toRelativeString(inputDir).ifEmpty { "." }
}.sorted().forEach {
echo("\t$it")
}
}

Expand Down

0 comments on commit c9f51e9

Please sign in to comment.