Skip to content
Snippets Groups Projects
Unverified Commit df583b67 authored by Michael Kriese's avatar Michael Kriese Committed by GitHub
Browse files

fix(manager): sort file order for hashes (#21948)

parent 0b008396
No related branches found
No related tags found
No related merge requests found
...@@ -93,6 +93,9 @@ export async function getManagerHash(managerName) { ...@@ -93,6 +93,9 @@ export async function getManagerHash(managerName) {
(fileName) => minimatch(fileName, '*.+(snap|spec.ts)', { matchBase: true }) (fileName) => minimatch(fileName, '*.+(snap|spec.ts)', { matchBase: true })
); );
// sort files in case glob order changes
files.sort();
for (const fileAddr of files) { for (const fileAddr of files) {
const hash = await getFileHash(fileAddr); const hash = await getFileHash(fileAddr);
hashes.push(hash); hashes.push(hash);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment