1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Rebuild credits

Had to update the script now we use weblate
This commit is contained in:
Chocobozzz 2020-01-09 12:00:47 +01:00
parent e0b56b7495
commit 41ee83423c
No known key found for this signature in database
GPG key ID: 583A612D890159BE
3 changed files with 448 additions and 315 deletions

View file

@ -6,7 +6,7 @@ function getEnvCli (server?: ServerInfo) {
return `NODE_ENV=test NODE_APP_INSTANCE=${server.serverNumber}`
}
async function execCLI (command: string) {
async function execCLI (command: string,) {
return new Promise<string>((res, rej) => {
exec(command, (err, stdout, stderr) => {
if (err) return rej(err)