From aee053dc10f0382244e6b030c4b486e08b0d1c00 Mon Sep 17 00:00:00 2001 From: joshaber Date: Fri, 25 Mar 2016 12:46:49 -0400 Subject: [PATCH] Whoops. Bring back pathIsIgnored. --- src/git-repository-async.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/git-repository-async.js b/src/git-repository-async.js index 668183ba7..edd85390b 100644 --- a/src/git-repository-async.js +++ b/src/git-repository-async.js @@ -148,6 +148,7 @@ export default class GitRepositoryAsync { if (!this.path) { this.path = repo.path().replace(/\/$/, '') } + return this.path }) } @@ -463,6 +464,7 @@ export default class GitRepositoryAsync { return Promise.all([this.getRepo(), this.getWorkingDirectory()]) .then(([repo, wd]) => { const relativePath = this.relativize(_path, wd) + return Git.Ignore.pathIsIgnored(repo, relativePath) }) .then(ignored => Boolean(ignored)) }