File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
packages/app/src/cli/services/context Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -399,13 +399,14 @@ function loadExtensionsIdentifiersBreakdown(
399399 // In AppManagement, matching has to be via UID, but we acccept UUID matches if the UID is empty (migration pending)
400400 // In Partners, we keep the legacy match of only UUID.
401401 function moduleHasUUIDorUID ( module : AppModuleVersion , identifier : string ) {
402+ const UuidMatch = module . registrationUuid === identifier
403+ const UidMatch = module . registrationId === identifier
404+ const pendingMigration = module . registrationId . length === 0
405+
402406 if ( developerPlatformClient . supportsAtomicDeployments ) {
403- return (
404- ( module . registrationUuid === identifier && module . registrationId . length === 0 ) ||
405- module . registrationId === identifier
406- )
407+ return UidMatch || ( pendingMigration && UuidMatch )
407408 } else {
408- return module . registrationUuid === identifier
409+ return UuidMatch
409410 }
410411 }
411412
You can’t perform that action at this time.
0 commit comments