lib/file_scanner/worker.rb in file_scanner-3.2.3 vs lib/file_scanner/worker.rb in file_scanner-3.2.4
- old
+ new
@@ -20,10 +20,10 @@
@filecheck = filecheck
@logger = logger
end
def call
- @logger.info { "scanning \e[33m#{path}\e[0m" }
+ @logger.info { "scanning \e[1m#{@path}\e[0m..." }
@logger.debug { "skipping directories" } if @filecheck
@logger.debug { "applying \e[36m#{@filters.size}\e[0m filters by \e[35m#{@mode}\e[0m" }
paths.lazy.select { |file| valid?(file) && filter(file) }
rescue StandardError => e
@logger.error { e.message }