Skip to content

Commit

Permalink
trivial refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
BlockLucas committed Oct 12, 2023
1 parent ef4be70 commit a991989
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ object DiagnosticConverters {
// avoid timeout by checking if we already added it, not using set as order is needed
if (!branch.contains(newD)) {
if (originFlag)
branch.prepend(newDiagnostic(uri, range, origin))
branch.prepend(newD)
else
branch.append(newDiagnostic(uri, range, origin))
branch.append(newD)
relatedFor(origin, references, informationBranches, branch, branchLimit, originFlag)
}
}
Expand Down

0 comments on commit a991989

Please sign in to comment.