aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools/peertube-import-videos.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tools/peertube-import-videos.ts')
-rw-r--r--server/tools/peertube-import-videos.ts3
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'
6import { remove } from 'fs-extra' 6import { remove } from 'fs-extra'
7import { truncate } from 'lodash' 7import { truncate } from 'lodash'
8import { join } from 'path' 8import { join } from 'path'
9import * as prompt from 'prompt'
10import { promisify } from 'util' 9import { promisify } from 'util'
11import { YoutubeDL } from '@server/helpers/youtube-dl' 10import { YoutubeDL } from '@server/helpers/youtube-dl'
12import { sha256 } from '../helpers/core-utils' 11import { sha256 } from '../helpers/core-utils'
@@ -22,6 +21,8 @@ import {
22} from './cli' 21} from './cli'
23import { PeerTubeServer } from '@shared/extra-utils' 22import { PeerTubeServer } from '@shared/extra-utils'
24 23
24import prompt = require('prompt')
25
25const processOptions = { 26const processOptions = {
26 maxBuffer: Infinity 27 maxBuffer: Infinity
27} 28}