We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 628f0df + e12aaad commit e5a0eefCopy full SHA for e5a0eef
1 file changed
lib/promise/cloneInstall.js
@@ -20,7 +20,8 @@ module.exports = function cloneInstall(plugin, options) {
20
}
21
var pluginPath = path.resolve(options.localPath, options.directory, plugin.name);
22
23
- exec(`git clone ${repoDetails.url} "${pluginPath}"`);
+ var url = repoDetails.url.replace(/^git:\/\//, 'https://');
24
+ exec(`git clone ${url} "${pluginPath}"`);
25
});
26
})
27
.then(function(repo){
0 commit comments