aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/cli
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-01-10 10:30:08 +0100
committerChocobozzz <me@florianbigard.com>2020-01-10 10:30:39 +0100
commit62fca05de45848f3241c1b078df51d79692ebfee (patch)
treea096364c5d64fc7377bfc82182623258aa7ba9ba /shared/extra-utils/cli
parentdce659fa7cb2b0f814e454a7a5c6860f9c37b39e (diff)
downloadPeerTube-62fca05de45848f3241c1b078df51d79692ebfee.tar.gz
PeerTube-62fca05de45848f3241c1b078df51d79692ebfee.tar.zst
PeerTube-62fca05de45848f3241c1b078df51d79692ebfee.zip
Fix default avatar URL
Diffstat (limited to 'shared/extra-utils/cli')
-rw-r--r--shared/extra-utils/cli/cli.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/extra-utils/cli/cli.ts b/shared/extra-utils/cli/cli.ts
index d532b62b0..54d05e9c6 100644
--- a/shared/extra-utils/cli/cli.ts
+++ b/shared/extra-utils/cli/cli.ts
@@ -6,7 +6,7 @@ function getEnvCli (server?: ServerInfo) {
6 return `NODE_ENV=test NODE_APP_INSTANCE=${server.serverNumber}` 6 return `NODE_ENV=test NODE_APP_INSTANCE=${server.serverNumber}`
7} 7}
8 8
9async function execCLI (command: string,) { 9async function execCLI (command: string) {
10 return new Promise<string>((res, rej) => { 10 return new Promise<string>((res, rej) => {
11 exec(command, (err, stdout, stderr) => { 11 exec(command, (err, stdout, stderr) => {
12 if (err) return rej(err) 12 if (err) return rej(err)