diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-17 09:29:23 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-17 09:29:23 +0100 |
commit | bf54587a3e2ad9c2c186828f2a5682b91ee2cc00 (patch) | |
tree | 54b40aaf01bae210632473285c3c7571d51e4f89 /scripts | |
parent | 6b5f72beda96d8b7e4d6329c4001827334de27dd (diff) | |
download | PeerTube-bf54587a3e2ad9c2c186828f2a5682b91ee2cc00.tar.gz PeerTube-bf54587a3e2ad9c2c186828f2a5682b91ee2cc00.tar.zst PeerTube-bf54587a3e2ad9c2c186828f2a5682b91ee2cc00.zip |
shared/ typescript types dir server-commands
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/benchmark.ts | 2 | ||||
-rwxr-xr-x | scripts/generate-code-contributors.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/benchmark.ts b/scripts/benchmark.ts index 788318313..011519fe3 100644 --- a/scripts/benchmark.ts +++ b/scripts/benchmark.ts | |||
@@ -3,7 +3,7 @@ registerTSPaths() | |||
3 | 3 | ||
4 | import autocannon, { printResult } from 'autocannon' | 4 | import autocannon, { printResult } from 'autocannon' |
5 | import { writeJson } from 'fs-extra' | 5 | import { writeJson } from 'fs-extra' |
6 | import { createSingleServer, killallServers, PeerTubeServer, setAccessTokensToServers } from '@shared/extra-utils' | 6 | import { createSingleServer, killallServers, PeerTubeServer, setAccessTokensToServers } from '@shared/server-commands' |
7 | import { Video, VideoPrivacy } from '@shared/models' | 7 | import { Video, VideoPrivacy } from '@shared/models' |
8 | 8 | ||
9 | let server: PeerTubeServer | 9 | let server: PeerTubeServer |
diff --git a/scripts/generate-code-contributors.ts b/scripts/generate-code-contributors.ts index 70b33c0d3..449407c44 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 { CLICommand } from '@shared/extra-utils' | 4 | import { CLICommand } from '@shared/server-commands' |
5 | 5 | ||
6 | run() | 6 | run() |
7 | .then(() => process.exit(0)) | 7 | .then(() => process.exit(0)) |