diff options
author | Chocobozzz <me@florianbigard.com> | 2021-06-25 17:48:27 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-25 17:48:27 +0200 |
commit | 12152aa09ff47dc5c5a627c27030855e254e58ad (patch) | |
tree | 3b630bce33bd62a21da4a10c3ac62189eabcb8a6 /server/tools/peertube-auth.ts | |
parent | 8cc6120118a9fb75b3165c9f84b2d0068d1ade72 (diff) | |
download | PeerTube-12152aa09ff47dc5c5a627c27030855e254e58ad.tar.gz PeerTube-12152aa09ff47dc5c5a627c27030855e254e58ad.tar.zst PeerTube-12152aa09ff47dc5c5a627c27030855e254e58ad.zip |
Update tools dependencies
Diffstat (limited to 'server/tools/peertube-auth.ts')
-rw-r--r-- | server/tools/peertube-auth.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tools/peertube-auth.ts b/server/tools/peertube-auth.ts index e54649002..1934e7986 100644 --- a/server/tools/peertube-auth.ts +++ b/server/tools/peertube-auth.ts | |||
@@ -3,7 +3,7 @@ | |||
3 | import { registerTSPaths } from '../helpers/register-ts-paths' | 3 | import { registerTSPaths } from '../helpers/register-ts-paths' |
4 | registerTSPaths() | 4 | registerTSPaths() |
5 | 5 | ||
6 | import * as program from 'commander' | 6 | import { OptionValues, program } from 'commander' |
7 | import * as prompt from 'prompt' | 7 | import * as prompt from 'prompt' |
8 | import { getNetrc, getSettings, writeSettings } from './cli' | 8 | import { getNetrc, getSettings, writeSettings } from './cli' |
9 | import { isUserUsernameValid } from '../helpers/custom-validators/users' | 9 | import { isUserUsernameValid } from '../helpers/custom-validators/users' |
@@ -66,7 +66,7 @@ program | |||
66 | .option('-U, --username <username>', 'Username') | 66 | .option('-U, --username <username>', 'Username') |
67 | .option('-p, --password <token>', 'Password') | 67 | .option('-p, --password <token>', 'Password') |
68 | .option('--default', 'add the entry as the new default') | 68 | .option('--default', 'add the entry as the new default') |
69 | .action((options: program.OptionValues) => { | 69 | .action((options: OptionValues) => { |
70 | /* eslint-disable no-import-assign */ | 70 | /* eslint-disable no-import-assign */ |
71 | prompt.override = options | 71 | prompt.override = options |
72 | prompt.start() | 72 | prompt.start() |