From 665abdcedcbfc6e024361664cfdb41b7959e7f66 Mon Sep 17 00:00:00 2001 From: David Marby Date: Mon, 30 Aug 2021 18:18:21 +0200 Subject: [PATCH] Skip migrating collections that has a missing remote project instead of cancelling the migration (#3973) --- packages/insomnia-app/app/sync/vcs/migrate-collections.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/insomnia-app/app/sync/vcs/migrate-collections.ts b/packages/insomnia-app/app/sync/vcs/migrate-collections.ts index c7a52338ab..7439fe5988 100644 --- a/packages/insomnia-app/app/sync/vcs/migrate-collections.ts +++ b/packages/insomnia-app/app/sync/vcs/migrate-collections.ts @@ -53,7 +53,7 @@ export const migrateCollectionsIntoRemoteProject = async (vcs: VCS) => { const remoteBackendProject = findRemoteBackendProject(collection); if (!remoteBackendProject) { - return; + continue; } let remoteProject = findRemoteProjectByTeam(remoteBackendProject.team);