lib/file_scanner/worker.rb in file_scanner-3.2.4 vs lib/file_scanner/worker.rb in file_scanner-3.2.5

- old
+ new

@@ -5,17 +5,17 @@ module FileScanner class Worker ALL = :all? ANY = :any? - attr_reader :filters + attr_reader :path, :filters def initialize(path:, filters: Filters::defaults, all: false, filecheck: false, logger: Logger.new(nil)) - @path = File.expand_path(path) + @path = File.expand_path(path) << File::SEPARATOR @filters = filters @mode = mode(all) @filecheck = filecheck @logger = logger end