Fix installing cordova plugin from git url

This commit is contained in:
Mateusz Gołębiowski
2020-05-07 23:28:12 +02:00
committed by filipenevola
parent ff0acbc7f7
commit 43cc050cf8

View File

@@ -549,7 +549,7 @@ from Cordova project`, async () => {
buildmessage.assertInJob();
if (utils.isUrlWithSha(version)) {
return convertToGitUrl(version);
return `${id}@${convertToGitUrl(version)}`;
} else if (utils.isUrlWithFileScheme(version)) {
// Strip file:// and resolve the path relative to the cordova-build
// directory