From 4e1ca1d1787f25ab9f0a72ccf9d8028f70b3a7ed Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Wed, 18 May 2022 22:00:11 +0200 Subject: refactor: use spawn API across codebase (#14414) --- runtime/js/40_spawn.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'runtime/js') diff --git a/runtime/js/40_spawn.js b/runtime/js/40_spawn.js index 4f680c7e1..77236ee2b 100644 --- a/runtime/js/40_spawn.js +++ b/runtime/js/40_spawn.js @@ -141,9 +141,6 @@ } async output() { - if (this.#rid === null) { - throw new TypeError("Child process has already terminated."); - } if (this.#stdout?.locked) { throw new TypeError( "Can't collect output because stdout is locked", -- cgit v1.2.3