Skip to content

Commit dce7e43

Browse files
authored
Make git unit test not flaky (#106)
* Make git unit test not flaky * Update * Change tag * Try base through base * Revert
1 parent faa56a6 commit dce7e43

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/git.ts

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

152+
additions.sort((a, b) => (a.path > b.path ? 1 : -1));
153+
deletions.sort((a, b) => (a.path > b.path ? 1 : -1));
154+
152155
return { additions, deletions };
153156
}

0 commit comments

Comments
 (0)