Skip to content

Commit

Permalink
style(www): format write
Browse files Browse the repository at this point in the history
  • Loading branch information
shadcn committed Oct 21, 2023
1 parent 1e43310 commit d9a0b43
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions apps/www/lib/rehype-npm-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ export function rehypeNpmCommand() {
"npx create-",
"pnpm create "
)
node.properties["__bunCommand__"] = npmCommand.replace("npx", "bunx --bun")
node.properties["__bunCommand__"] = npmCommand.replace(
"npx",
"bunx --bun"
)
}

// npx.
Expand All @@ -53,7 +56,10 @@ export function rehypeNpmCommand() {
"npx",
"pnpm dlx"
)
node.properties["__bunCommand__"] = npmCommand.replace("npx", "bunx --bun")
node.properties["__bunCommand__"] = npmCommand.replace(
"npx",
"bunx --bun"
)
}
})
}
Expand Down

0 comments on commit d9a0b43

Please sign in to comment.