aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils/cli.ts
diff options
context:
space:
mode:
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