diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-22 12:07:26 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-22 12:08:02 +0200 |
commit | 2e980ed30dc37061b467ebbb68094f830bffdb5d (patch) | |
tree | 6e79e4fce84e2faeaf44dd2b8fd95a8d26735461 /server/tools/test-live.ts | |
parent | 7a397c7f1548750bc6c1609bcdd34d1bded9fbf7 (diff) | |
download | PeerTube-2e980ed30dc37061b467ebbb68094f830bffdb5d.tar.gz PeerTube-2e980ed30dc37061b467ebbb68094f830bffdb5d.tar.zst PeerTube-2e980ed30dc37061b467ebbb68094f830bffdb5d.zip |
Simplify createServer args
Diffstat (limited to 'server/tools/test-live.ts')
-rw-r--r-- | server/tools/test-live.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tools/test-live.ts b/server/tools/test-live.ts index 0cb0c3668..50dc04438 100644 --- a/server/tools/test-live.ts +++ b/server/tools/test-live.ts | |||
@@ -36,7 +36,7 @@ async function run () { | |||
36 | 36 | ||
37 | console.log('Starting server.') | 37 | console.log('Starting server.') |
38 | 38 | ||
39 | const server = await createSingleServer(1, {}, [], { hideLogs: false, execArgv: [ '--inspect' ] }) | 39 | const server = await createSingleServer(1, {}, { hideLogs: false, nodeArgs: [ '--inspect' ] }) |
40 | 40 | ||
41 | const cleanup = async () => { | 41 | const cleanup = async () => { |
42 | console.log('Killing server') | 42 | console.log('Killing server') |