diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-21 15:51:30 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-21 15:51:30 +0200 |
commit | a24bd1ed41b43790bab6ba789580bb4e85f07d85 (patch) | |
tree | a54b0f6c921ba83a6e909cd0ced325b2d4b8863c /scripts/generate-code-contributors.ts | |
parent | 5f26f13b3c16ac5ae0a3b0a7142d84a9528cf565 (diff) | |
parent | c63830f15403ac4e750829f27d8bbbdc9a59282c (diff) | |
download | PeerTube-a24bd1ed41b43790bab6ba789580bb4e85f07d85.tar.gz PeerTube-a24bd1ed41b43790bab6ba789580bb4e85f07d85.tar.zst PeerTube-a24bd1ed41b43790bab6ba789580bb4e85f07d85.zip |
Merge branch 'next' into develop
Diffstat (limited to 'scripts/generate-code-contributors.ts')
-rwxr-xr-x | scripts/generate-code-contributors.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/generate-code-contributors.ts b/scripts/generate-code-contributors.ts index db5af3f91..935ed3c5a 100755 --- a/scripts/generate-code-contributors.ts +++ b/scripts/generate-code-contributors.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { registerTSPaths } from '../server/helpers/register-ts-paths' | 1 | import { registerTSPaths } from '../server/helpers/register-ts-paths' |
2 | registerTSPaths() | 2 | registerTSPaths() |
3 | 3 | ||
4 | import { execCLI } from '@shared/extra-utils' | 4 | import { CLICommand } from '@shared/extra-utils' |
5 | 5 | ||
6 | run() | 6 | run() |
7 | .then(() => process.exit(0)) | 7 | .then(() => process.exit(0)) |
@@ -59,7 +59,7 @@ async function run () { | |||
59 | } | 59 | } |
60 | 60 | ||
61 | async function getGitContributors () { | 61 | async function getGitContributors () { |
62 | const output = await execCLI(`git --no-pager shortlog -sn < /dev/tty | sed 's/^\\s\\+[0-9]\\+\\s\\+//g'`) | 62 | const output = await CLICommand.exec(`git --no-pager shortlog -sn < /dev/tty | sed 's/^\\s\\+[0-9]\\+\\s\\+//g'`) |
63 | 63 | ||
64 | return output.split('\n') | 64 | return output.split('\n') |
65 | .filter(l => !!l) | 65 | .filter(l => !!l) |