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 Jun 5, 2015
1 parent d7185ee commit f47846c
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 @@ -24,7 +24,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 f47846c

Please sign in to comment.