mirror of
https://github.com/atom/atom.git
synced 2026-01-26 23:38:48 -05:00
Add missing return in checkouthead
This commit is contained in:
@@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user