diff --git a/src/git-repository-async.js b/src/git-repository-async.js index cb2c8ffae..dcb677bd4 100644 --- a/src/git-repository-async.js +++ b/src/git-repository-async.js @@ -804,7 +804,7 @@ export default class GitRepositoryAsync { // Has the repository been destroyed? // // Returns :: Bool - _destroyed() { + _destroyed () { return this.repoPromise == null }