Skip to content

Commit cfb186b

Browse files
committed
fixup! refactor(@angular/build): unify and deduplicate emitFilesToDisk across builders
1 parent 2a73fc9 commit cfb186b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/angular/build/src/builders/application/build-action.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ function* emitOutputResults(
333333
incrementalResult.files.push({
334334
path: destination,
335335
type: BuildOutputFileType.Browser,
336-
source: source,
336+
source,
337337
origin: 'disk',
338338
});
339339
}

‎packages/angular/build/src/builders/library/tests/behavior/watch_spec.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ describeLibraryBuilder(executeLibraryBuilder, LIBRARY_BUILDER_INFO, (harness) =>
594594
`,
595595
);
596596
},
597-
async ({ result }) => {
597+
({ result }) => {
598598
expect(result?.success).toBeTrue();
599599
const content = harness.readFile('dist/lib/fesm2022/lib.mjs');
600600
expect(content).toContain('lib-recreated');

0 commit comments

Comments
 (0)