diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-01 11:18:50 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-02-01 11:23:12 +0100 |
commit | 7448551fe5c111fcc7b7448ad864fb15a5c8d87f (patch) | |
tree | 47725af0db72dd75a69fbf765444254969ee7ac7 /shared/extra-utils/videos/videos.ts | |
parent | 33c7131be5883d1b25c49adbcf5750b63905a368 (diff) | |
download | PeerTube-7448551fe5c111fcc7b7448ad864fb15a5c8d87f.tar.gz PeerTube-7448551fe5c111fcc7b7448ad864fb15a5c8d87f.tar.zst PeerTube-7448551fe5c111fcc7b7448ad864fb15a5c8d87f.zip |
Fix redundancy with HLS only files
Diffstat (limited to 'shared/extra-utils/videos/videos.ts')
-rw-r--r-- | shared/extra-utils/videos/videos.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/extra-utils/videos/videos.ts b/shared/extra-utils/videos/videos.ts index 110552c77..f94fa233c 100644 --- a/shared/extra-utils/videos/videos.ts +++ b/shared/extra-utils/videos/videos.ts | |||
@@ -338,7 +338,7 @@ async function checkVideoFilesWereRemoved ( | |||
338 | 338 | ||
339 | const files = await readdir(directoryPath) | 339 | const files = await readdir(directoryPath) |
340 | for (const file of files) { | 340 | for (const file of files) { |
341 | expect(file).to.not.contain(videoUUID) | 341 | expect(file, `File ${file} should not exist in ${directoryPath}`).to.not.contain(videoUUID) |
342 | } | 342 | } |
343 | } | 343 | } |
344 | } | 344 | } |