aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools/peertube-upload.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-10-21 17:13:07 +0200
committerChocobozzz <me@florianbigard.com>2019-10-21 17:13:22 +0200
commit2aaa1a3fdc49be77aec5309dab5507865c38d392 (patch)
treebc83c5b1ff49faf03461c78a110e0a5613343c31 /server/tools/peertube-upload.ts
parent576ddf645ff2223126d28ef172bb6388602c35f4 (diff)
downloadPeerTube-2aaa1a3fdc49be77aec5309dab5507865c38d392.tar.gz
PeerTube-2aaa1a3fdc49be77aec5309dab5507865c38d392.tar.zst
PeerTube-2aaa1a3fdc49be77aec5309dab5507865c38d392.zip
Use typescript paths in cli scripts too
Diffstat (limited to 'server/tools/peertube-upload.ts')
-rw-r--r--server/tools/peertube-upload.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/tools/peertube-upload.ts b/server/tools/peertube-upload.ts
index 4569cbb85..f604c9bee 100644
--- a/server/tools/peertube-upload.ts
+++ b/server/tools/peertube-upload.ts
@@ -1,3 +1,6 @@
1import { registerTSPaths } from '../helpers/register-ts-paths'
2registerTSPaths()
3
1import * as program from 'commander' 4import * as program from 'commander'
2import { access, constants } from 'fs-extra' 5import { access, constants } from 'fs-extra'
3import { isAbsolute } from 'path' 6import { isAbsolute } from 'path'