aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/optimize-old-videos.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-24 09:34:06 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-07-24 10:58:16 +0200
commit51326912d61b05a33dd9cf3ca9befa6e2715b346 (patch)
treebe7d0abb6e4da038e47146cc8107980c51382fd8 /scripts/optimize-old-videos.ts
parent24163420dd43e3429976c8518d1752832ba910a4 (diff)
downloadPeerTube-51326912d61b05a33dd9cf3ca9befa6e2715b346.tar.gz
PeerTube-51326912d61b05a33dd9cf3ca9befa6e2715b346.tar.zst
PeerTube-51326912d61b05a33dd9cf3ca9befa6e2715b346.zip
Fix optimize old videos script
Diffstat (limited to 'scripts/optimize-old-videos.ts')
-rw-r--r--scripts/optimize-old-videos.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/optimize-old-videos.ts b/scripts/optimize-old-videos.ts
index 2c80f16bc..0b0e6037e 100644
--- a/scripts/optimize-old-videos.ts
+++ b/scripts/optimize-old-videos.ts
@@ -61,7 +61,7 @@ async function run () {
61 if (originalDuration === newDuration) { 61 if (originalDuration === newDuration) {
62 console.log('Finished optimizing %s', basename(currentFile)) 62 console.log('Finished optimizing %s', basename(currentFile))
63 await remove(backupFile) 63 await remove(backupFile)
64 return 64 continue
65 } 65 }
66 66
67 console.log('Failed to optimize %s, restoring original', basename(currentFile)) 67 console.log('Failed to optimize %s, restoring original', basename(currentFile))