diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-27 14:32:44 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-27 15:12:22 +0200 |
commit | 41fb13c330de629df2d23379209e79c7af0f2e9a (patch) | |
tree | 73bc5a90566406b3910f142beae2a879c1e4265d /server/tools/peertube-import-videos.ts | |
parent | 40e7ed0714f96c01e16de3ac971a4b28116294e1 (diff) | |
download | PeerTube-41fb13c330de629df2d23379209e79c7af0f2e9a.tar.gz PeerTube-41fb13c330de629df2d23379209e79c7af0f2e9a.tar.zst PeerTube-41fb13c330de629df2d23379209e79c7af0f2e9a.zip |
esModuleInterop to true
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 | } |