File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -250,9 +250,7 @@ export class CollectionService extends LoggerBase {
250250 )
251251 }
252252
253- if ( project . repositoryGroups ) {
254- await this . syncRepositoryGroupsWithDb ( qx , createdProject . id , project . repositoryGroups )
255- }
253+ await this . syncRepositoryGroupsWithDb ( qx , createdProject . id , project . repositoryGroups )
256254
257255 const txSvc = new CollectionService ( { ...this . options , transaction : tx } )
258256
@@ -415,9 +413,8 @@ export class CollectionService extends LoggerBase {
415413 } ) ) ,
416414 )
417415 }
418- if ( project . repositoryGroups ) {
419- await this . syncRepositoryGroupsWithDb ( qx , insightsProjectId , project . repositoryGroups )
420- }
416+
417+ await this . syncRepositoryGroupsWithDb ( qx , insightsProjectId , project . repositoryGroups )
421418
422419 const txSvc = new CollectionService ( {
423420 ...this . options ,
You can’t perform that action at this time.
0 commit comments