Skip to content

Commit 43dc045

Browse files
committed
chore: don't pass empty params to kit cli
1 parent 64f9105 commit 43dc045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/commands/db/generate.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default defineCommand({
5454
...options,
5555
stdin: 'inherit',
5656
stdout: 'inherit'
57-
})`drizzle-kit generate --config=./.nuxt/hub/db/drizzle.config.ts ${args.custom ? '--custom' : ''} ${args.name ? `--name=${args.name}` : ''}`
57+
})`drizzle-kit generate --config=./.nuxt/hub/db/drizzle.config.ts${args.custom ? ' --custom' : ''}${args.name ? ` --name=${args.name}` : ''}`
5858
// Drizzle-kit does not exit with an error code when there is an error, so we need to check the stderr
5959
if (stderr) {
6060
consola.error(stderr)

0 commit comments

Comments
 (0)