From 1d6c210b49c6a6a2076b2b44932ff87742ba1ad0 Mon Sep 17 00:00:00 2001 From: Tim Vergenz Date: Fri, 1 May 2020 17:33:00 -0400 Subject: [PATCH] Export PathFilter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi! The README mentions that PathFilter is available as an export, but it didn't appear to be exported. 🙂 It also would be very useful in my particular case. --- src/scandal.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scandal.coffee b/src/scandal.coffee index 776eaef..40fcd31 100644 --- a/src/scandal.coffee +++ b/src/scandal.coffee @@ -2,6 +2,7 @@ PathSearcher = require './path-searcher' PathScanner = require './path-scanner' PathReplacer = require './path-replacer' +PathFilter = require './path-filter' path = require "path" SingleProcess = require('./single-process-search') @@ -37,4 +38,4 @@ main = -> else singleProcessScanMain(options) -module.exports = {main, search, replace, PathSearcher, PathScanner, PathReplacer} +module.exports = {main, search, replace, PathSearcher, PathScanner, PathReplacer, PathFilter}