diff options
author | Chocobozzz <me@florianbigard.com> | 2022-01-03 17:13:11 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-01-06 08:26:14 +0100 |
commit | f8360396ffabd2f95e9ece9c5755173bae0114b6 (patch) | |
tree | 83467f70bb5d5c2faa61c45e1d87b538c6c8fe5e /server/tools/peertube-auth.ts | |
parent | cea093bca5b9d311b5c1d0539d53e965c901015b (diff) | |
download | PeerTube-f8360396ffabd2f95e9ece9c5755173bae0114b6.tar.gz PeerTube-f8360396ffabd2f95e9ece9c5755173bae0114b6.tar.zst PeerTube-f8360396ffabd2f95e9ece9c5755173bae0114b6.zip |
Stop using tsconfig register
Prefer to replace paths at compile time
Diffstat (limited to 'server/tools/peertube-auth.ts')
-rw-r--r-- | server/tools/peertube-auth.ts | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/server/tools/peertube-auth.ts b/server/tools/peertube-auth.ts index afa19ee08..f8ac8b2ab 100644 --- a/server/tools/peertube-auth.ts +++ b/server/tools/peertube-auth.ts | |||
@@ -1,12 +1,7 @@ | |||
1 | // eslint-disable @typescript-eslint/no-unnecessary-type-assertion | 1 | import CliTable3 from 'cli-table3' |
2 | |||
3 | import { registerTSPaths } from '../helpers/register-ts-paths' | ||
4 | registerTSPaths() | ||
5 | |||
6 | import { OptionValues, program } from 'commander' | 2 | import { OptionValues, program } from 'commander' |
7 | import { assignToken, buildServer, getNetrc, getSettings, writeSettings } from './cli' | ||
8 | import { isUserUsernameValid } from '../helpers/custom-validators/users' | 3 | import { isUserUsernameValid } from '../helpers/custom-validators/users' |
9 | import CliTable3 from 'cli-table3' | 4 | import { assignToken, buildServer, getNetrc, getSettings, writeSettings } from './cli' |
10 | 5 | ||
11 | import prompt = require('prompt') | 6 | import prompt = require('prompt') |
12 | 7 | ||