We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2151135 commit 747e51eCopy full SHA for 747e51e
lib/deno/mod.ts
@@ -224,15 +224,15 @@ let ensureServiceIsRunning = (): Promise<Service> => {
224
const stdoutBuffer = new Uint8Array(4 * 1024 * 1024)
225
const readMoreStdout = () => child.stdout.read(stdoutBuffer).then(n => {
226
if (n === null) {
227
- afterClose()
+ afterClose(null)
228
} else {
229
readFromStdout(stdoutBuffer.subarray(0, n))
230
readMoreStdout()
231
}
232
}).catch(e => {
233
if (e instanceof Deno.errors.Interrupted || e instanceof Deno.errors.BadResource) {
234
// ignore the error if read was interrupted (stdout was closed)
235
+ afterClose(e)
236
237
throw e;
238
0 commit comments