Skip to content

Commit

Permalink
fix: Cleanup unused buildoutput.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTolmay committed Oct 23, 2023
1 parent d72c2a4 commit 75db8b1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/build/src/build/buildPages/buildPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,12 @@ function buildPage({ page, index, context, checkDuplicatePageId }) {
checkDuplicatePageId({ id: page.id });
page.pageId = page.id;
const requests = [];
const operators = new Set();
buildBlock(page, {
auth: page.auth,
blockIdCounter: createCounter(),
checkDuplicateRequestId: createCheckDuplicateId({
message: 'Duplicate requestId "{{ id }}" on page "{{ pageId }}".',
}),
operators,
pageId: page.pageId,
requests,
typeCounters: context.typeCounters,
Expand All @@ -49,7 +47,6 @@ function buildPage({ page, index, context, checkDuplicatePageId }) {
page.id = `page:${page.pageId}`;

page.requests = requests;
page.operators = [...operators];
}

export default buildPage;

0 comments on commit 75db8b1

Please sign in to comment.