Skip to content

Commit 366d35d

Browse files
shigmaCopilot
andauthored
Update packages/create/src/index.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 0df45e8 commit 366d35d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/create/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ async function prepare() {
9090
async function scaffold() {
9191
console.log(kleur.dim(' Scaffolding project in ') + project + kleur.dim(' ...'))
9292

93-
const registry = String(argv.registry || await getRegistry() || 'https://registry.npmjs.org').replace(/\/$/, '')
93+
const registry = (argv.registry || await getRegistry() || 'https://registry.npmjs.org').replace(/\/$/, '')
9494
console.log(kleur.dim(` Using registry: ${registry}\n`))
9595
const template = argv.template || '@koishijs/boilerplate'
9696

0 commit comments

Comments
 (0)