diff options
author | Chocobozzz <me@florianbigard.com> | 2019-10-21 17:13:07 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-10-21 17:13:22 +0200 |
commit | 2aaa1a3fdc49be77aec5309dab5507865c38d392 (patch) | |
tree | bc83c5b1ff49faf03461c78a110e0a5613343c31 /server/tools/peertube-import-videos.ts | |
parent | 576ddf645ff2223126d28ef172bb6388602c35f4 (diff) | |
download | PeerTube-2aaa1a3fdc49be77aec5309dab5507865c38d392.tar.gz PeerTube-2aaa1a3fdc49be77aec5309dab5507865c38d392.tar.zst PeerTube-2aaa1a3fdc49be77aec5309dab5507865c38d392.zip |
Use typescript paths in cli scripts too
Diffstat (limited to 'server/tools/peertube-import-videos.ts')
-rw-r--r-- | server/tools/peertube-import-videos.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/tools/peertube-import-videos.ts b/server/tools/peertube-import-videos.ts index fcb90cca3..39184f46d 100644 --- a/server/tools/peertube-import-videos.ts +++ b/server/tools/peertube-import-videos.ts | |||
@@ -1,3 +1,6 @@ | |||
1 | import { registerTSPaths } from '../helpers/register-ts-paths' | ||
2 | registerTSPaths() | ||
3 | |||
1 | // FIXME: https://github.com/nodejs/node/pull/16853 | 4 | // FIXME: https://github.com/nodejs/node/pull/16853 |
2 | require('tls').DEFAULT_ECDH_CURVE = 'auto' | 5 | require('tls').DEFAULT_ECDH_CURVE = 'auto' |
3 | 6 | ||