Open ThorvaldAagaard opened 5 years ago
I'm submitting a ... (check one with "x"):
Everything after first @ is stripped to remove version, that conflict with plugins, where @ is included in the id
Current behavior:
Using plugin "@mauron85/cordova-plugin-background-geolocation": "^3.0.3",
cordova-check-plugins fails when this code is executed
var idToCheck = unconstrainVersions ? source.id.replace(/(@([^~]?).*)$/, '') : source.id;
as idToCheck now is blank
Check for version fails
Changing the regex to @([^@]+)$ that takes the last @ solves the problem
I'm submitting a ... (check one with "x"):
Bug report
Everything after first @ is stripped to remove version, that conflict with plugins, where @ is included in the id
Current behavior:
Using plugin "@mauron85/cordova-plugin-background-geolocation": "^3.0.3",
cordova-check-plugins fails when this code is executed
var idToCheck = unconstrainVersions ? source.id.replace(/(@([^~]?).*)$/, '') : source.id;
as idToCheck now is blank
Check for version fails
Changing the regex to @([^@]+)$ that takes the last @ solves the problem