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 --- server/tools/cli.ts | 2 +- server/tools/peertube-import-videos.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'server/tools') diff --git a/server/tools/cli.ts b/server/tools/cli.ts index 7c763734f..00adcedeb 100644 --- a/server/tools/cli.ts +++ b/server/tools/cli.ts @@ -2,7 +2,7 @@ import { Command } from 'commander' import { Netrc } from 'netrc-parser' import { join } from 'path' import { createLogger, format, transports } from 'winston' -import { PeerTubeServer } from '@shared/extra-utils' +import { PeerTubeServer } from '@shared/server-commands' import { UserRole } from '@shared/models' import { VideoPrivacy } from '../../shared/models/videos' import { getAppNumber, isTestInstance } from '../helpers/core-utils' diff --git a/server/tools/peertube-import-videos.ts b/server/tools/peertube-import-videos.ts index 223bf7f1b..8314551f6 100644 --- a/server/tools/peertube-import-videos.ts +++ b/server/tools/peertube-import-videos.ts @@ -15,7 +15,7 @@ import { getLogger, getServerCredentials } from './cli' -import { wait } from '@shared/extra-utils' +import { wait } from '@shared/server-commands' import { YoutubeDLCLI, YoutubeDLInfo, YoutubeDLInfoBuilder } from '@server/helpers/youtube-dl' import prompt = require('prompt') -- cgit v1.2.3