Fix runner test

pull/6003/head
Chocobozzz 2023-10-11 15:13:54 +02:00
parent 678ae8abbd
commit fca58de835
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
import { ChildProcess, fork, ForkOptions } from 'child_process'
import { execa } from 'execa'
import { execaNode } from 'execa'
import { join } from 'path'
import { root } from '@peertube/peertube-node-utils'
import { PeerTubeServer } from '@peertube/peertube-server-commands'
@ -99,6 +99,6 @@ export class PeerTubeRunnerProcess {
}
private runCommand (path: string, args: string[]) {
return execa.node(path, args, { env: { ...process.env, NODE_OPTIONS: '' } })
return execaNode(path, args, { env: { ...process.env, NODE_OPTIONS: '' } })
}
}