Skip to content

Commit c50fed2

Browse files
committed
refactor(@angular-devkit/build-angular): remove redundant async from render-worker
The `async` keyword is not needed here. (cherry picked from commit e453695)
1 parent 9453a23 commit c50fed2

File tree

1 file changed

+1
-1
lines changed
  • packages/angular_devkit/build_angular/src/utils/server-rendering

1 file changed

+1
-1
lines changed

packages/angular_devkit/build_angular/src/utils/server-rendering/render-worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface RenderOptions {
2828
const { outputFiles, document, inlineCriticalCss } = workerData as RenderWorkerData;
2929

3030
/** Renders an application based on a provided options. */
31-
async function render(options: RenderOptions): Promise<RenderResult> {
31+
function render(options: RenderOptions): Promise<RenderResult> {
3232
return renderPage({
3333
...options,
3434
outputFiles,

0 commit comments

Comments
 (0)