fixed(#269): duplicate logging message during project creation (#266)

Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>
This commit is contained in:
Joydip Roy
2025-05-18 15:58:37 +05:30
committed by GitHub
parent 0824982516
commit aed897c16f
2 changed files with 5 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
---
"create-better-t-stack": patch
---
fixed(#269): duplicate logging message during project creation

View File

@@ -627,9 +627,6 @@ function processAndValidateFlags(
process.exit(1); process.exit(1);
} }
config.examples = []; config.examples = [];
log.info(
"Due to '--backend none', the following options have been automatically set: --auth=false, --database=none, --orm=none, --api=none, --runtime=none, --db-setup=none, --examples=none",
);
} else { } else {
const effectiveDatabase = const effectiveDatabase =
config.database ?? (options.yes ? DEFAULT_CONFIG.database : undefined); config.database ?? (options.yes ? DEFAULT_CONFIG.database : undefined);