Skip to content

Commit

Permalink
Merge pull request #83 from carrot/recursive-clone
Browse files Browse the repository at this point in the history
Add in recursive clone for possible submodules
  • Loading branch information
kylemac committed Jun 3, 2015
2 parents 4d77b03 + 3362ea9 commit 78ba21c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/template.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ module.exports = (function () {

if (self.isRemote) {
self.emitter.emit('cmd', 'git clone ' + self.src + ' ' + self.path);
return exec('git clone ' + self.src + ' ' + self.path);
return exec('git clone --recursive ' + self.src + ' ' + self.path);
}

return fs.symlinkAsync(self.src, self.path);
Expand Down

0 comments on commit 78ba21c

Please sign in to comment.