diff --git a/lib/service/packageDetailsProvider.js b/lib/service/packageDetailsProvider.js index 4dfbc83..f0a0d2a 100644 --- a/lib/service/packageDetailsProvider.js +++ b/lib/service/packageDetailsProvider.js @@ -20,7 +20,7 @@ module.exports = function PackageDetailsProvider() { var tempName = utils.getRandomString(); var gitCloneFolder = path.join(tempFolder, tempName); - utils.exec('git clone {0} {1} --depth=1'.format(packageUrl, gitCloneFolder)) + utils.exec('git clone {0} \"{1}\" --depth=1'.format(packageUrl, gitCloneFolder)) .then(function() { var bowerJsonLocation = path.join(gitCloneFolder, 'bower.json');