Add missing return in checkouthead

This commit is contained in:
Daniel Hengeveld
2015-10-20 16:52:43 +02:00
parent 49969288bb
commit 196fb35b65

View File

@@ -83,7 +83,7 @@ module.exports = class GitRepositoryAsync {
var checkoutOptions = new Git.CheckoutOptions()
checkoutOptions.paths = [this._gitUtilsRepo.relativize(_path)]
checkoutOptions.checkoutStrategy = Git.Checkout.STRATEGY.FORCE | Git.Checkout.STRATEGY.DISABLE_PATHSPEC_MATCH
Git.Checkout.head(repo, checkoutOptions)
return Git.Checkout.head(repo, checkoutOptions)
})
}