1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 18:29:27 +02:00

Update server dependencies

This commit is contained in:
Chocobozzz 2021-02-03 09:33:05 +01:00
parent 29f148a613
commit ba5a8d89bb
No known key found for this signature in database
GPG key ID: 583A612D890159BE
42 changed files with 1322 additions and 1553 deletions

View file

@ -30,7 +30,7 @@ export {
// ---------------------------------------------------------------------------
function convertSrtToVtt (source: string, destination: string) {
return new Promise((res, rej) => {
return new Promise<void>((res, rej) => {
const file = createReadStream(source)
const converter = srt2vtt()
const writer = createWriteStream(destination)