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

🐛 Fixed not ignoring nested git repositories #105

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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(relativePath)
if relativePath is ''
false
else if @repo?.isPathIgnored(loadedPath)
true
else
for ignoredName in @ignoredNames
Expand Down