Skip to content

Commit

Permalink
fix(manager): sort file order for hashes (#21948)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed May 3, 2023
1 parent 0b00839 commit df583b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/generate-imports.mjs
Expand Up @@ -93,6 +93,9 @@ export async function getManagerHash(managerName) {
(fileName) => minimatch(fileName, '*.+(snap|spec.ts)', { matchBase: true })
);

// sort files in case glob order changes
files.sort();

for (const fileAddr of files) {
const hash = await getFileHash(fileAddr);
hashes.push(hash);
Expand Down

0 comments on commit df583b6

Please sign in to comment.