From 43cc050cf8568d40045d1fac51700c839b686636 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Go=C5=82=C4=99biowski?= Date: Thu, 7 May 2020 23:28:12 +0200 Subject: [PATCH] Fix installing cordova plugin from git url --- tools/cordova/project.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cordova/project.js b/tools/cordova/project.js index bc899934f9..d586fc0c33 100644 --- a/tools/cordova/project.js +++ b/tools/cordova/project.js @@ -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