Unindent
This commit is contained in:
parent
ab5c4e570c
commit
49e48a457a
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Reference in a new issue