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 /server/tools | |
parent | 6b5f72beda96d8b7e4d6329c4001827334de27dd (diff) | |
download | PeerTube-bf54587a3e2ad9c2c186828f2a5682b91ee2cc00.tar.gz PeerTube-bf54587a3e2ad9c2c186828f2a5682b91ee2cc00.tar.zst PeerTube-bf54587a3e2ad9c2c186828f2a5682b91ee2cc00.zip |
shared/ typescript types dir server-commands
Diffstat (limited to 'server/tools')
-rw-r--r-- | server/tools/cli.ts | 2 | ||||
-rw-r--r-- | server/tools/peertube-import-videos.ts | 2 |
2 files changed, 2 insertions, 2 deletions
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' | |||
2 | import { Netrc } from 'netrc-parser' | 2 | import { Netrc } from 'netrc-parser' |
3 | import { join } from 'path' | 3 | import { join } from 'path' |
4 | import { createLogger, format, transports } from 'winston' | 4 | import { createLogger, format, transports } from 'winston' |
5 | import { PeerTubeServer } from '@shared/extra-utils' | 5 | import { PeerTubeServer } from '@shared/server-commands' |
6 | import { UserRole } from '@shared/models' | 6 | import { UserRole } from '@shared/models' |
7 | import { VideoPrivacy } from '../../shared/models/videos' | 7 | import { VideoPrivacy } from '../../shared/models/videos' |
8 | import { getAppNumber, isTestInstance } from '../helpers/core-utils' | 8 | 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 { | |||
15 | getLogger, | 15 | getLogger, |
16 | getServerCredentials | 16 | getServerCredentials |
17 | } from './cli' | 17 | } from './cli' |
18 | import { wait } from '@shared/extra-utils' | 18 | import { wait } from '@shared/server-commands' |
19 | import { YoutubeDLCLI, YoutubeDLInfo, YoutubeDLInfoBuilder } from '@server/helpers/youtube-dl' | 19 | import { YoutubeDLCLI, YoutubeDLInfo, YoutubeDLInfoBuilder } from '@server/helpers/youtube-dl' |
20 | import prompt = require('prompt') | 20 | import prompt = require('prompt') |
21 | 21 | ||