Skip to content

Commit

Permalink
fix(seeder): ensure SeederExecutor properly sort seed file on fileName (
Browse files Browse the repository at this point in the history
#642)

Signed-off-by: Guillaume Deslandes <guillaume@desland.es>
  • Loading branch information
guillaumedeslandes authored Jul 27, 2023
1 parent 4f728fd commit a9c4f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/seeder/executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export class SeederExecutor {
typeof a.fileName !== 'undefined' &&
typeof b.fileName !== 'undefined'
) {
return a.name > b.name ? 1 : -1;
return a.fileName > b.fileName ? 1 : -1;
}

return a.timestamp - b.timestamp;
Expand Down

0 comments on commit a9c4f92

Please sign in to comment.