We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98ad871 commit e4158cfCopy full SHA for e4158cf
src/init/features/frameworks/repo.ts
@@ -137,13 +137,12 @@ async function promptRepositoryUri(
137
for (const conn of connections) {
138
const { id } = parseConnectionName(conn.name)!;
139
const resp = await gcb.fetchLinkableRepositories(projectId, location, id);
140
- if (resp.repositories && resp.repositories.length > 1) {
+ if (resp.repositories && resp.repositories.length > 0) {
141
for (const repo of resp.repositories) {
142
remoteUriToConnection[repo.remoteUri] = conn;
143
}
144
145
146
-
147
const choices = Object.keys(remoteUriToConnection).map((remoteUri: string) => ({
148
name: extractRepoSlugFromUri(remoteUri) || remoteUri,
149
value: remoteUri,
0 commit comments