pre commit autoformat won't block committing for this project
Some checks failed
Just some continuos integration / ci (push) Failing after 22s
Some checks failed
Just some continuos integration / ci (push) Failing after 22s
This commit is contained in:
parent
9f36097598
commit
08a3ec3883
1 changed files with 1 additions and 3 deletions
|
@ -65,13 +65,11 @@ export function streamYouTube(link: string, format: string): ReadableStream<Uint
|
||||||
process.stdout.on('data', (chunk) => {
|
process.stdout.on('data', (chunk) => {
|
||||||
try {
|
try {
|
||||||
controller.enqueue(chunk);
|
controller.enqueue(chunk);
|
||||||
} catch () {
|
} catch {
|
||||||
process.kill();
|
process.kill();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
process.stderr.on('data', (chunk) => logger.debug(chunk.toString()));
|
process.stderr.on('data', (chunk) => logger.debug(chunk.toString()));
|
||||||
process.stdout.on('end', () => {
|
process.stdout.on('end', () => {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue