ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix tmp tests
Chocobozzzd1a2ce5ef336
diff --git a/shared/extra-utils/server/servers.ts b/shared/extra-utils/server/servers.tsindex 6ab7bee909..08d05ef36e 100644--- a/shared/extra-utils/server/servers.ts+++ b/shared/extra-utils/server/servers.ts@@ -272,8 +272,12 @@ async function reRunServer (server: ServerInfo, configOverride?: any) {return server}-function checkTmpIsEmpty (server: ServerInfo) {- return checkDirectoryIsEmpty(server, 'tmp', [ 'plugins-global.css' ])+async function checkTmpIsEmpty (server: ServerInfo) {+ await checkDirectoryIsEmpty(server, 'tmp', [ 'plugins-global.css', 'hls' ])++ if (await pathExists(join('test' + server.internalServerNumber, 'tmp', 'hls'))) {+ await checkDirectoryIsEmpty(server, 'tmp/hls')+ }}async function checkDirectoryIsEmpty (server: ServerInfo, directory: string, exceptions: string[] = []) {