chore: fixing typescript EXPECTED_LOAD_ERRORS

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2021-10-26 13:45:04 +02:00
parent 1af1f76cb8
commit 38ad8746c0
-3
View File
@@ -25,9 +25,6 @@ import { promisify } from 'util';
const execFile = promisify(execFileCb);
const EXPECTED_LOAD_ERRORS =
/ECONNREFUSED|ECONNRESET|did not get to load all resources/;
export function spawnPiped(cmd: string[], options?: SpawnOptions) {
function pipeWithPrefix(stream: NodeJS.WriteStream, prefix = '') {
return (data: Buffer) => {