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:
parent
29f148a613
commit
ba5a8d89bb
42 changed files with 1322 additions and 1553 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue