diff --git a/lib/load-paths-handler.coffee b/lib/load-paths-handler.coffee index 9d29a2a3..cfe98d2e 100644 --- a/lib/load-paths-handler.coffee +++ b/lib/load-paths-handler.coffee @@ -26,7 +26,9 @@ class PathLoader isIgnored: (loadedPath) -> relativePath = path.relative(@rootPath, loadedPath) - if @repo?.isPathIgnored(relativePath) + if relativePath is '' + false + else if @repo?.isPathIgnored(loadedPath) true else for ignoredName in @ignoredNames