aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/server-commands/server/servers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/server-commands/server/servers.ts')
-rw-r--r--shared/server-commands/server/servers.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/server-commands/server/servers.ts b/shared/server-commands/server/servers.ts
index b2b61adb3..fe9da9e63 100644
--- a/shared/server-commands/server/servers.ts
+++ b/shared/server-commands/server/servers.ts
@@ -20,7 +20,7 @@ function createMultipleServers (totalServers: number, configOverride?: object, o
20 return Promise.all(serverPromises) 20 return Promise.all(serverPromises)
21} 21}
22 22
23async function killallServers (servers: PeerTubeServer[]) { 23function killallServers (servers: PeerTubeServer[]) {
24 return Promise.all(servers.map(s => s.kill())) 24 return Promise.all(servers.map(s => s.kill()))
25} 25}
26 26