diff --git a/internal/runtime/read.ts b/internal/runtime/read.ts index 94510ed1..d1a1e716 100644 --- a/internal/runtime/read.ts +++ b/internal/runtime/read.ts @@ -17,7 +17,7 @@ export function read(data: Uint8Array): Promise { const buffer = process.stdin.read(); if (buffer === null) { - return null; + return resolve(null); } for (let i = 0; i < buffer.length; i++) {