We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 506855a commit 2a4c9c0Copy full SHA for 2a4c9c0
1 file changed
src/git.ts
@@ -149,8 +149,8 @@ export async function getFileChanges(
149
},
150
});
151
152
- additions.sort((a, b) => a.path.localeCompare(b.path));
153
- deletions.sort((a, b) => a.path.localeCompare(b.path));
+ additions.sort((a, b) => (a.path > b.path ? 1 : -1));
+ deletions.sort((a, b) => (a.path > b.path ? 1 : -1));
154
155
return { additions, deletions };
156
}
0 commit comments