Skip to content

Commit

Permalink
fix scramerr... THREE!!
Browse files Browse the repository at this point in the history
  • Loading branch information
r58Playz committed Dec 17, 2024
1 parent b13c2f9 commit 60f57d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rewriter/rewriter/src/changes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,8 @@ impl Ord for JsChange {
fn cmp(&self, other: &Self) -> std::cmp::Ordering {
match self.get_span().start.cmp(&other.get_span().start) {
Ordering::Equal => match (self, other) {
(Self::ScramErrFn { .. }, _) => Ordering::Greater,
(_, Self::ScramErrFn { .. }) => Ordering::Less,
(Self::ScramErrFn { .. }, _) => Ordering::Less,
(_, Self::ScramErrFn { .. }) => Ordering::Greater,
_ => Ordering::Equal,
},
x => x,
Expand Down

0 comments on commit 60f57d5

Please sign in to comment.