Skip to content

Commit

Permalink
traversal.help: deduplicate stepDocs (#428)
Browse files Browse the repository at this point in the history
thanks @einstueckkaese
  • Loading branch information
mpollmeier authored Apr 9, 2024
1 parent ea0b480 commit 205b651
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class TraversalHelp(searchPackages: DocSearchPackages) {

val table = Table(
columnNames = if (verbose) ColumnNamesVerbose else ColumnNames,
rows = stepDocs.sortBy(_.methodName).map { stepDoc =>
rows = stepDocs.distinct.sortBy(_.methodName).map { stepDoc =>
val baseColumns = List(s".${stepDoc.methodName}", stepDoc.doc.info)
if (verbose) baseColumns :+ stepDoc.traversalClassName
else baseColumns
Expand Down

0 comments on commit 205b651

Please sign in to comment.