Skip to content

Commit 69066a3

Browse files
committed
Allow GCB repos to be reused in backend.
1 parent affc89d commit 69066a3

File tree

1 file changed

+0
-4
lines changed
  • src/init/features/frameworks

1 file changed

+0
-4
lines changed

src/init/features/frameworks/repo.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,10 +272,6 @@ export async function getOrCreateRepository(
272272
let repo: gcb.Repository;
273273
try {
274274
repo = await gcb.getRepository(projectId, location, connectionId, repositoryId);
275-
const repoSlug = extractRepoSlugFromUri(repo.remoteUri);
276-
if (repoSlug) {
277-
throw new FirebaseError(`${repoSlug} has already been linked.`);
278-
}
279275
} catch (err: unknown) {
280276
if ((err as FirebaseError).status === 404) {
281277
const op = await gcb.createRepository(

0 commit comments

Comments
 (0)