Skip to content

Commit

Permalink
Merge pull request #24 from leabstrait/patch-1
Browse files Browse the repository at this point in the history
Swap position of sort parameters
  • Loading branch information
halvardssm authored May 20, 2020
2 parents f445e11 + e35588f commit f981bd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const filterAndSortFiles = (
return parseInt(file.name.split("-")[0]) >
new Date(queryResult).getTime();
})
.sort((a, b) => parseInt(b?.name ?? "0") - parseInt(a?.name ?? "0"));
.sort((a, b) => parseInt(a?.name ?? "0") - parseInt(b?.name ?? "0"));
};

export const traverseAndMigrateFiles = async (
Expand Down

0 comments on commit f981bd4

Please sign in to comment.