Skip to content

Commit 2a4c9c0

Browse files
committed
Update
1 parent 506855a commit 2a4c9c0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/git.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ export async function getFileChanges(
149149
},
150150
});
151151

152-
additions.sort((a, b) => a.path.localeCompare(b.path));
153-
deletions.sort((a, b) => a.path.localeCompare(b.path));
152+
additions.sort((a, b) => (a.path > b.path ? 1 : -1));
153+
deletions.sort((a, b) => (a.path > b.path ? 1 : -1));
154154

155155
return { additions, deletions };
156156
}

0 commit comments

Comments
 (0)