Skip to content

Commit

Permalink
fix(core): use concat in buildAllWorkspaceFiles to avoid Maximum call…
Browse files Browse the repository at this point in the history
… stack size exceeded (#18065)
  • Loading branch information
chentsulin authored Jul 12, 2023
1 parent 7bd4d61 commit c364207
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function buildAllWorkspaceFiles(
performance.mark('get-all-workspace-files:start');
let fileData = Object.values(projectFileMap).flat();

fileData.push(...globalFiles);
fileData = fileData.concat(globalFiles);
performance.mark('get-all-workspace-files:end');
performance.measure(
'get-all-workspace-files',
Expand Down

1 comment on commit c364207

@vercel
Copy link

@vercel vercel bot commented on c364207 Jul 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-nrwl.vercel.app
nx-five.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx.dev

Please sign in to comment.