mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Update nodegit API usage.
This changed in https://github.com/nodegit/nodegit/pull/968.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user