mirror of
https://github.com/snobu/destreamer.git
synced 2026-01-26 09:52:17 +00:00
Reintroduce Node 8.x support (#79)
* Fix Node 8.x support * Add Node 8.x to CI build matrix
This commit is contained in:
@@ -16,6 +16,7 @@ import puppeteer from 'puppeteer';
|
||||
import colors from 'colors';
|
||||
import path from 'path';
|
||||
import fs from 'fs';
|
||||
import { URL } from 'url';
|
||||
import sanitize from 'sanitize-filename';
|
||||
import cliProgress from 'cli-progress';
|
||||
|
||||
@@ -233,7 +234,7 @@ async function downloadVideo(videoUrls: string[], outputDirectories: string[], s
|
||||
ffmpegCmd.spawn();
|
||||
});
|
||||
|
||||
process.off('SIGINT', cleanupFn);
|
||||
process.removeListener('SIGINT', cleanupFn);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user