Skip to content

Commit e12aaad

Browse files
committed
Fix for issue #114
1 parent c407ead commit e12aaad

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/promise/cloneInstall.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ module.exports = function cloneInstall(plugin, options) {
2020
}
2121
var pluginPath = path.resolve(options.localPath, options.directory, plugin.name);
2222

23-
exec(`git clone ${repoDetails.url} "${pluginPath}"`);
23+
var url = repoDetails.url.replace(/^git:\/\//, 'https://');
24+
exec(`git clone ${url} "${pluginPath}"`);
2425
});
2526
})
2627
.then(function(repo){

0 commit comments

Comments
 (0)