diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-17 13:58:07 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-17 13:58:07 +0100 |
commit | f304a1580b5ce7b6c5f9e25cd3ddc63ca8d8c6a1 (patch) | |
tree | 5d2b8e1c0e3ec05ad3e18cb59fe9ad84fac710eb /server/tools/peertube-import-videos.ts | |
parent | c55e3d7227fe1453869e309025996b9d75256d5d (diff) | |
download | PeerTube-f304a1580b5ce7b6c5f9e25cd3ddc63ca8d8c6a1.tar.gz PeerTube-f304a1580b5ce7b6c5f9e25cd3ddc63ca8d8c6a1.tar.zst PeerTube-f304a1580b5ce7b6c5f9e25cd3ddc63ca8d8c6a1.zip |
Fix build
Diffstat (limited to 'server/tools/peertube-import-videos.ts')
-rw-r--r-- | server/tools/peertube-import-videos.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tools/peertube-import-videos.ts b/server/tools/peertube-import-videos.ts index 8314551f6..44c42bad6 100644 --- a/server/tools/peertube-import-videos.ts +++ b/server/tools/peertube-import-videos.ts | |||
@@ -5,7 +5,7 @@ import { program } from 'commander' | |||
5 | import { accessSync, constants } from 'fs' | 5 | import { accessSync, constants } from 'fs' |
6 | import { remove } from 'fs-extra' | 6 | import { remove } from 'fs-extra' |
7 | import { join } from 'path' | 7 | import { join } from 'path' |
8 | import { sha256 } from '@shared/core-utils/crypto' | 8 | import { sha256, wait } from '@shared/core-utils' |
9 | import { doRequestAndSaveToFile } from '../helpers/requests' | 9 | import { doRequestAndSaveToFile } from '../helpers/requests' |
10 | import { | 10 | import { |
11 | assignToken, | 11 | assignToken, |
@@ -15,7 +15,6 @@ import { | |||
15 | getLogger, | 15 | getLogger, |
16 | getServerCredentials | 16 | getServerCredentials |
17 | } from './cli' | 17 | } from './cli' |
18 | import { wait } from '@shared/server-commands' | ||
19 | import { YoutubeDLCLI, YoutubeDLInfo, YoutubeDLInfoBuilder } from '@server/helpers/youtube-dl' | 18 | import { YoutubeDLCLI, YoutubeDLInfo, YoutubeDLInfoBuilder } from '@server/helpers/youtube-dl' |
20 | import prompt = require('prompt') | 19 | import prompt = require('prompt') |
21 | 20 | ||