Skip to content

Commit

Permalink
Dealing with #161
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed Mar 8, 2020
1 parent 8b859ea commit e8ca7ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions SCC-OUTPUT-REPORT.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<th>1188</th>
<th>312</th>
<th>5716</th>
<th>1202</th>
<th>1203</th>
</tr><tr>
<th>Java</th>
<th>23</th>
Expand Down Expand Up @@ -472,6 +472,6 @@
<th>2529</th>
<th>1491</th>
<th>18860</th>
<th>2097</th>
<th>2098</th>
</tr></tfoot>
</table></body></html>
4 changes: 2 additions & 2 deletions processor/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ DIRENTS:
}

for _, exclude := range dw.excludes {
if exclude.Match([]byte(name)) {
if exclude.Match([]byte(name)) || exclude.Match([]byte(path)) {
if Verbose {
printWarn("skipping directory due to match exclude: " + name)
printWarn("skipping file/directory due to match exclude: " + name)
}
continue DIRENTS
}
Expand Down

0 comments on commit e8ca7ea

Please sign in to comment.