Skip to content

Commit

Permalink
SourceGroup implementation always allow directories to avoid package …
Browse files Browse the repository at this point in the history
…view skipping directories, even though it might contain some included subdirectories.
  • Loading branch information
kelemen committed Mar 4, 2015
1 parent d006b2c commit 85896fc
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,11 @@ private boolean rulesAllow(FileObject file) {
return true;
}

return includeRules.isIncluded(rootPath, file);
boolean result = includeRules.isIncluded(rootPath, file);
// Directories are always allowed because otherwise
// package view might skip the entire directory, regardless that
// it might contain included sub directories.
return result || file.isFolder();
}

@Override
Expand Down

0 comments on commit 85896fc

Please sign in to comment.