1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

Fix default avatar URL

This commit is contained in:
Chocobozzz 2020-01-10 10:30:08 +01:00
parent dce659fa7c
commit 62fca05de4
No known key found for this signature in database
GPG key ID: 583A612D890159BE
3 changed files with 4 additions and 3 deletions

View file

@ -6,7 +6,7 @@ function getEnvCli (server?: ServerInfo) {
return `NODE_ENV=test NODE_APP_INSTANCE=${server.serverNumber}`
}
async function execCLI (command: string,) {
async function execCLI (command: string) {
return new Promise<string>((res, rej) => {
exec(command, (err, stdout, stderr) => {
if (err) return rej(err)