1
0
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:
Adrian Calinescu
2020-04-21 12:42:08 +03:00
committed by GitHub
parent 64151520e2
commit 352b1eaa5e
4 changed files with 5 additions and 4 deletions

View File

@@ -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);
}
}