-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
investigatingLooking into the issueLooking into the issue
Description
The following commands work from the command line:
$ /usr/bin/perl inst/bin/cloc.pl "."
$ /usr/bin/perl inst/bin/cloc.pl --force-lang="R" "."
$ /usr/bin/perl inst/bin/cloc.pl --exclude-dir="R" "."
but the latter with sub-directories does not work. I want to exclude vendor code, so run this:
$ cloc --exclude-dir=man,docs,src/vendor "."
and all is good, yet this fails:
$ /usr/bin/perl /usr/local/lib/R/site-library/cloc/bin/cloc.pl --exclude-dir=man,docs,src/vendor "."
This issue is obviously nothing to do with your repo, so feel free to just close it. If, however, you want to investigate further, the offending lines that causes it to fail are the exclude_dir_validates
function, currently here.
(It's not a cloc
version thing either, coz same thing happens for all 1.74 -> 1.77)
hrbrmstr
Metadata
Metadata
Assignees
Labels
investigatingLooking into the issueLooking into the issue