diff options
Diffstat (limited to 'server/tools/peertube-import-videos.ts')
-rw-r--r-- | server/tools/peertube-import-videos.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tools/peertube-import-videos.ts b/server/tools/peertube-import-videos.ts index 488109b7a..758b561e1 100644 --- a/server/tools/peertube-import-videos.ts +++ b/server/tools/peertube-import-videos.ts | |||
@@ -6,7 +6,6 @@ import { accessSync, constants } from 'fs' | |||
6 | import { remove } from 'fs-extra' | 6 | import { remove } from 'fs-extra' |
7 | import { truncate } from 'lodash' | 7 | import { truncate } from 'lodash' |
8 | import { join } from 'path' | 8 | import { join } from 'path' |
9 | import * as prompt from 'prompt' | ||
10 | import { promisify } from 'util' | 9 | import { promisify } from 'util' |
11 | import { YoutubeDL } from '@server/helpers/youtube-dl' | 10 | import { YoutubeDL } from '@server/helpers/youtube-dl' |
12 | import { sha256 } from '../helpers/core-utils' | 11 | import { sha256 } from '../helpers/core-utils' |
@@ -22,6 +21,8 @@ import { | |||
22 | } from './cli' | 21 | } from './cli' |
23 | import { PeerTubeServer } from '@shared/extra-utils' | 22 | import { PeerTubeServer } from '@shared/extra-utils' |
24 | 23 | ||
24 | import prompt = require('prompt') | ||
25 | |||
25 | const processOptions = { | 26 | const processOptions = { |
26 | maxBuffer: Infinity | 27 | maxBuffer: Infinity |
27 | } | 28 | } |