Skip to content

Commit

Permalink
Unindent
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaub committed Nov 17, 2016
1 parent ab5c4e5 commit 49e48a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/git.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ exports.clone = function clone(repo, dir, branch, options) {
return Q.resolve();
} else {
return fs.makeTree(path.dirname(path.resolve(dir))).then(function() {
var args = ['clone', repo, dir, '--branch', branch, '--single-branch',
'--origin', options.remote];
var args = ['clone', repo, dir, '--branch', branch, '--single-branch', '--origin', options.remote];
if (options.depth) {
args.push('--depth', options.depth);
}
Expand Down

0 comments on commit 49e48a4

Please sign in to comment.