Skip to content

Commit

Permalink
fix(cli): --registry is string
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Sep 10, 2022
1 parent 720f5a1 commit 00447d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import { startShell } from './_utils'

async function main () {
const args = mri(process.argv.slice(2), {
boolean: ['help', 'force', 'force-clean', 'offline', 'prefer-offline', 'shell', 'registry', 'verbose']
boolean: ['help', 'force', 'force-clean', 'offline', 'prefer-offline', 'shell', 'verbose'],
string: ['registry']
})

const input = args._[0]
Expand Down

0 comments on commit 00447d8

Please sign in to comment.