mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-03 20:33:33 +03:00
Use #index instead of #openIndex.
#openIndex is going away: https://github.com/nodegit/nodegit/pull/989
This commit is contained in:
parent
c4f60d0d42
commit
14afb49676
@ -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