Skip to content

Commit 7503cb0

Browse files
author
Caleb Barnes
committed
only inquirer.prompt if initialOpts.drizzle is not explicitly passed as true or false
1 parent 69d81ea commit 7503cb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/database/database.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const init = async (_options: OptionValues, command: BaseCommand) => {
1414

1515
const initialOpts = command.opts()
1616

17-
if (initialOpts.drizzle !== false) {
17+
if (initialOpts.drizzle !== false && initialOpts.drizzle !== true) {
1818
const answers = await inquirer.prompt(
1919
[
2020
{

0 commit comments

Comments
 (0)