Skip to content

Commit e144a6d

Browse files
fix: missing async usage, debug options reading
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
1 parent 49a05a5 commit e144a6d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/componentize.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,12 @@ export async function componentize(
356356
}
357357

358358
/// Process output of check init, throwing if necessary
359-
handleCheckInitOutput(check_init(), initializerPath, workDir, getStderr);
359+
await handleCheckInitOutput(
360+
check_init(),
361+
initializerPath,
362+
workDir,
363+
getStderr,
364+
);
360365

361366
// After wizening, stub out the wasi imports depending on what features are enabled
362367
const finalBin = stubWasi(
@@ -558,7 +563,7 @@ async function initWasm(bin) {
558563
* @param {string} workDir
559564
* @param {() => string} getStderr - A function that resolves to the stderr output of check init
560565
*/
561-
function handleCheckInitOutput(
566+
async function handleCheckInitOutput(
562567
status,
563568
initializerPath,
564569
workDir,

0 commit comments

Comments
 (0)