Skip to content

Commit 2b499b6

Browse files
committed
m
1 parent 90bf0fd commit 2b499b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/init/features/dataconnect/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ export async function actuate(setup: Setup, config: Config): Promise<void> {
147147
info.cloudSqlInstanceId || `${info.serviceId.toLowerCase() || "app"}-fdc`;
148148
info.locationId = info.locationId || `us-central1`;
149149
info.cloudSqlDatabase = info.cloudSqlDatabase || `fdcdb`;
150-
// Make sure to add add some GQL files.
151-
// Use the template if the existing service is empty (no schema / connector GQL).
150+
// Make sure to add some GQL files.
151+
// Use the template if it starts from scratch or the existing service has no GQL source.
152152
if (!info.schemaGql.length && !info.connectors.flatMap((r) => r.files).length) {
153153
info.schemaGql = [defaultSchema];
154154
info.connectors = [defaultConnector];

0 commit comments

Comments
 (0)