Fixes a regression in #154 where package name gets changed from magento/... to {vendor}/... before checking it against the replaceVersionMap. This causes it to find no match, because replaceVersionMap contains only magento/... package names.
This fixes it by recording the original package name before composer.name = setMageOsVendor(..., and using that for the map check.
Fixes a regression in #154 where package name gets changed from
magento/...
to{vendor}/...
before checking it against thereplaceVersionMap
. This causes it to find no match, becausereplaceVersionMap
contains onlymagento/...
package names.This fixes it by recording the original package name before
composer.name = setMageOsVendor(...
, and using that for the map check.