mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-01 03:03:09 +03:00
Merge pull request #11410 from atom/update-nodegit-api-usage
Use #index instead of #openIndex.
This commit is contained in:
commit
f22e63b498
@ -305,7 +305,7 @@ export default class GitRepositoryAsync {
|
||||
.then(relativePath => {
|
||||
return this.repoPool.enqueue(() => {
|
||||
return this.getRepo()
|
||||
.then(repo => repo.openIndex())
|
||||
.then(repo => repo.index())
|
||||
.then(index => {
|
||||
const entry = index.getByPath(relativePath)
|
||||
if (!entry) return false
|
||||
|
Loading…
Reference in New Issue
Block a user