diff --git a/packages/compiler-cli/ngcc/src/execution/lock_file.ts b/packages/compiler-cli/ngcc/src/execution/lock_file.ts index 38883beeec..a9a98d209a 100644 --- a/packages/compiler-cli/ngcc/src/execution/lock_file.ts +++ b/packages/compiler-cli/ngcc/src/execution/lock_file.ts @@ -169,7 +169,7 @@ export class LockFileAsync extends LockFileBase { */ async lock(fn: () => Promise): Promise { await this.create(); - return await fn().finally(() => this.remove()); + return fn().finally(() => this.remove()); } protected async create() {