lib/wayfarer/middleware/normalize.rb in wayfarer-0.4.3 vs lib/wayfarer/middleware/normalize.rb in wayfarer-0.4.4

- old
+ new

@@ -1,9 +1,11 @@ # frozen_string_literal: true module Wayfarer module Middleware class Normalize + extend Base + def call(task) yield if block_given? task.metadata.staged_urls = SortedSet.new(normalized_urls(task).compact) end