Skip to content

Commit

Permalink
Merge pull request #233 from ViktorHofer/1.1.8
Browse files Browse the repository at this point in the history
package details could not be resolved when temp dir has blanks in it
  • Loading branch information
Hacklone committed Apr 23, 2016
2 parents 335ee7a + 33a1ad8 commit 2945540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/service/packageDetailsProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit 2945540

Please sign in to comment.