From 19091abda1b754abb418843128d937bc026bdd3a Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Wed, 9 Nov 2022 08:00:58 -0800 Subject: [PATCH] Fix missing awaits in Herebyfile (#51465) --- Herebyfile.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Herebyfile.mjs b/Herebyfile.mjs index 18a0483e837..9ae0279cc67 100644 --- a/Herebyfile.mjs +++ b/Herebyfile.mjs @@ -141,7 +141,7 @@ const localize = task({ dependencies: [generateDiagnostics], run: async () => { if (needsUpdate(diagnosticMessagesGeneratedJson, generatedLCGFile)) { - return exec(process.execPath, ["scripts/generateLocalizedDiagnosticMessages.mjs", "src/loc/lcl", "built/local", diagnosticMessagesGeneratedJson], { ignoreExitCode: true }); + await exec(process.execPath, ["scripts/generateLocalizedDiagnosticMessages.mjs", "src/loc/lcl", "built/local", diagnosticMessagesGeneratedJson], { ignoreExitCode: true }); } } }); @@ -386,7 +386,7 @@ export const dtsServices = task({ dependencies: [buildServices], run: async () => { if (needsUpdate("./built/local/typescript/tsconfig.tsbuildinfo", ["./built/local/typescript.d.ts", "./built/local/typescript.internal.d.ts"])) { - runDtsBundler("./built/local/typescript/typescript.d.ts", "./built/local/typescript.d.ts"); + await runDtsBundler("./built/local/typescript/typescript.d.ts", "./built/local/typescript.d.ts"); } }, });