Skip to content

Commit 80d3c0b

Browse files
committed
fix(cli): remove --yes flag for shadcn binary runners command
1 parent f9fc0d4 commit 80d3c0b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/cli/src/services/package-manager.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import { detect } from "package-manager-detector"
44
const PACKAGE_MANAGERS = ["npm", "bun", "pnpm", "yarn@berry", "yarn"] as const
55

66
const BINARY_RUNNERS = {
7-
npm: ["npx", "--yes"],
8-
bun: ["bunx", "--bun", "--yes"],
9-
pnpm: ["pnpm", "dlx", "--yes"],
10-
yarn: ["yarn", "--yes"],
7+
npm: ["npx"],
8+
bun: ["bunx", "--bun"],
9+
pnpm: ["pnpm", "dlx"],
10+
yarn: ["yarn"],
1111
"yarn@berry": ["yarn", "dlx"]
1212
} as const
1313

0 commit comments

Comments
 (0)