From bf54587a3e2ad9c2c186828f2a5682b91ee2cc00 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 17 Dec 2021 09:29:23 +0100 Subject: shared/ typescript types dir server-commands --- scripts/benchmark.ts | 2 +- scripts/generate-code-contributors.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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() import autocannon, { printResult } from 'autocannon' import { writeJson } from 'fs-extra' -import { createSingleServer, killallServers, PeerTubeServer, setAccessTokensToServers } from '@shared/extra-utils' +import { createSingleServer, killallServers, PeerTubeServer, setAccessTokensToServers } from '@shared/server-commands' import { Video, VideoPrivacy } from '@shared/models' 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 @@ import { registerTSPaths } from '../server/helpers/register-ts-paths' registerTSPaths() -import { CLICommand } from '@shared/extra-utils' +import { CLICommand } from '@shared/server-commands' run() .then(() => process.exit(0)) -- cgit v1.2.3