Skip to content

Commit 7a4a27e

Browse files
committed
Fix missing awaits in Herebyfile
1 parent 8d906e9 commit 7a4a27e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Herebyfile.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ const localize = task({
141141
dependencies: [generateDiagnostics],
142142
run: async () => {
143143
if (needsUpdate(diagnosticMessagesGeneratedJson, generatedLCGFile)) {
144-
return exec(process.execPath, ["scripts/generateLocalizedDiagnosticMessages.mjs", "src/loc/lcl", "built/local", diagnosticMessagesGeneratedJson], { ignoreExitCode: true });
144+
await exec(process.execPath, ["scripts/generateLocalizedDiagnosticMessages.mjs", "src/loc/lcl", "built/local", diagnosticMessagesGeneratedJson], { ignoreExitCode: true });
145145
}
146146
}
147147
});
@@ -386,7 +386,7 @@ export const dtsServices = task({
386386
dependencies: [buildServices],
387387
run: async () => {
388388
if (needsUpdate("./built/local/typescript/tsconfig.tsbuildinfo", ["./built/local/typescript.d.ts", "./built/local/typescript.internal.d.ts"])) {
389-
runDtsBundler("./built/local/typescript/typescript.d.ts", "./built/local/typescript.d.ts");
389+
await runDtsBundler("./built/local/typescript/typescript.d.ts", "./built/local/typescript.d.ts");
390390
}
391391
},
392392
});

0 commit comments

Comments
 (0)