Skip to content

Commit e5a0eef

Browse files
authored
Merge pull request #116 from adaptlearning/issue/#114
Fix for issue #114
2 parents 628f0df + e12aaad commit e5a0eef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)