Skip to content

Commit 435fafb

Browse files
Return files in a predictable order
1 parent 94659f9 commit 435fafb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/normalize-options.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,5 +168,6 @@ async function strictGlobMatch(file: string, options: object): Promise<string[]>
168168
}
169169
}
170170

171-
return matches;
171+
// Return files in a predictable order
172+
return matches.sort();
172173
}

0 commit comments

Comments
 (0)