Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Don't ignore the root path
Browse files Browse the repository at this point in the history
  • Loading branch information
segiddins committed Oct 30, 2015
1 parent dcdad6a commit 088c0e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/load-paths-handler.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ class PathLoader

isIgnored: (loadedPath) ->
relativePath = path.relative(@rootPath, loadedPath)
if @repo?.isPathIgnored(loadedPath)
if relativePath is ''
false
else if @repo?.isPathIgnored(loadedPath)
true
else
for ignoredName in @ignoredNames
Expand Down

0 comments on commit 088c0e7

Please sign in to comment.