aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils/cli.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-09-07 17:58:09 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-09-07 17:58:09 +0200
commit8df87ce792be7b0ccdad4cb703e5ca3be66d214a (patch)
treef28b8705da384f99009f1a63942616aa244d6552 /server/tests/utils/cli.ts
parentfdbda9e3d6564ec908733c7019305f6a3c363a9f (diff)
downloadPeerTube-8df87ce792be7b0ccdad4cb703e5ca3be66d214a.tar.gz
PeerTube-8df87ce792be7b0ccdad4cb703e5ca3be66d214a.tar.zst
PeerTube-8df87ce792be7b0ccdad4cb703e5ca3be66d214a.zip
Convert real world tools to typescript
Diffstat (limited to 'server/tests/utils/cli.ts')
-rw-r--r--server/tests/utils/cli.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/utils/cli.ts b/server/tests/utils/cli.ts
index 5f07a832e..4098fdf6f 100644
--- a/server/tests/utils/cli.ts
+++ b/server/tests/utils/cli.ts
@@ -7,7 +7,7 @@ function getEnvCli (server?: ServerInfo) {
7} 7}
8 8
9async function execCLI (command: string) { 9async function execCLI (command: string) {
10 return new Promise((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)
13 13