diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/optimize-old-videos.ts | 2 |
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)) |