Skip to content

Commit

Permalink
fix(core): properly sort all workspace files (#20013)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cammisuli authored Nov 3, 2023
1 parent 00248aa commit 9c0e6a1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,9 @@ function buildAllWorkspaceFiles(
): FileData[] {
performance.mark('get-all-workspace-files:start');
let fileData: FileData[] = Object.values(projectFileMap).flat();
fileData = fileData.concat(globalFiles).sort();
fileData = fileData
.concat(globalFiles)
.sort((a, b) => a.file.localeCompare(b.file));
performance.mark('get-all-workspace-files:end');
performance.measure(
'get-all-workspace-files',
Expand Down

0 comments on commit 9c0e6a1

Please sign in to comment.