Currently, the excludeFn function I pass to crawler.exclude(excludeFn) receives only the basename of the directory as a parameter. I would like to decide to exclude or not based on the full path. I propose passing also path as a second parameter to it, so it is not a breaking change.
Currently, the
excludeFn
function I pass tocrawler.exclude(excludeFn)
receives only the basename of the directory as a parameter. I would like to decide to exclude or not based on the full path. I propose passing alsopath
as a second parameter to it, so it is not a breaking change.