Update nodegit API usage.

This changed in https://github.com/nodegit/nodegit/pull/968.
This commit is contained in:
joshaber
2016-04-11 11:42:21 -04:00
parent 26206bb9c0
commit 041906cdae

View File

@@ -40,7 +40,7 @@ export default class GitRepositoryAsync {
constructor (_path, options = {}) {
// We'll serialize our access manually.
Git.disableThreadSafety()
Git.setThreadSafetyStatus(Git.THREAD_SAFETY.DISABLED)
this.emitter = new Emitter()
this.subscriptions = new CompositeDisposable()