Overwrite video caption

pull/1479/head
Chocobozzz 2018-12-11 15:56:35 +01:00
parent dae5ca24b1
commit 44848a51dc
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ async function moveAndProcessCaptionFile (physicalFile: { filename: string, path
await convertSrtToVtt(physicalFile.path, destination)
await remove(physicalFile.path)
} else { // Just move the vtt file
await move(physicalFile.path, destination)
await move(physicalFile.path, destination, { overwrite: true })
}
// This is important in case if there is another attempt in the retry process