chore: fix gerrit reader

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2023-11-21 14:43:06 +01:00
parent 50e91dba75
commit b623c9fc1c
@@ -139,7 +139,7 @@ export class GerritUrlReader implements UrlReader {
return Buffer.from(responseBody, 'base64');
},
stream: () => {
const readable = new Readable().wrap(response.body);
const readable = Readable.from(response.body);
return readable.pipe(new Base64Decode());
},
};