Skip to content

Commit 0f10ae3

Browse files
maneeshtjoehan
andauthored
Fix issue where prompt would print boolean if false (#8398)
* Fix issue where prompt would print boolean if false * Added changelog * Update CHANGELOG.md --------- Co-authored-by: joehan <[email protected]>
1 parent 159d689 commit 0f10ae3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
- Fixed issue with prompt when Data Connect prompts user for framework generation.
12
- Fixed a bug where the Admin SDK fails with ENOTFOUND when automatically connecting to the Data Connect emulator when run in the Functions emulator. (#8379)

src/init/features/dataconnect/sdk.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ async function askQuestions(setup: Setup, config: Config): Promise<SDKInfo> {
127127
type: "checkbox",
128128
name: "fdcFrameworks",
129129
message:
130-
`Which ${hasFrameworkEnabled && "additional "}frameworks would you like to generate SDKs for? ` +
130+
`Which ${hasFrameworkEnabled ? "additional " : ""}frameworks would you like to generate SDKs for? ` +
131131
"Press Space to select features, then Enter to confirm your choices.",
132132
choices: unusedFrameworks.map((frameworkStr) => ({
133133
value: frameworkStr,

0 commit comments

Comments
 (0)