diff options
author | Chocobozzz <me@florianbigard.com> | 2020-01-28 14:02:47 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-01-28 14:03:12 +0100 |
commit | 005b51b977e624b64107ccd10594920e5a6c264c (patch) | |
tree | a33b34098cccb451f3d79d88f4774ee1839a722f /server/tools/peertube-import-videos.ts | |
parent | e669ff58736e919cbc300e1880d995006592fa0c (diff) | |
download | PeerTube-005b51b977e624b64107ccd10594920e5a6c264c.tar.gz PeerTube-005b51b977e624b64107ccd10594920e5a6c264c.tar.zst PeerTube-005b51b977e624b64107ccd10594920e5a6c264c.zip |
Force node 10 usage
Diffstat (limited to 'server/tools/peertube-import-videos.ts')
-rw-r--r-- | server/tools/peertube-import-videos.ts | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/server/tools/peertube-import-videos.ts b/server/tools/peertube-import-videos.ts index eaa792763..c7e85b570 100644 --- a/server/tools/peertube-import-videos.ts +++ b/server/tools/peertube-import-videos.ts | |||
@@ -1,10 +1,6 @@ | |||
1 | import { registerTSPaths } from '../helpers/register-ts-paths' | 1 | import { registerTSPaths } from '../helpers/register-ts-paths' |
2 | |||
3 | registerTSPaths() | 2 | registerTSPaths() |
4 | 3 | ||
5 | // FIXME: https://github.com/nodejs/node/pull/16853 | ||
6 | require('tls').DEFAULT_ECDH_CURVE = 'auto' | ||
7 | |||
8 | import * as program from 'commander' | 4 | import * as program from 'commander' |
9 | import { join } from 'path' | 5 | import { join } from 'path' |
10 | import { doRequestAndSaveToFile } from '../helpers/requests' | 6 | import { doRequestAndSaveToFile } from '../helpers/requests' |