lib/minitest/queue.rb in ci-queue-0.24.2 vs lib/minitest/queue.rb in ci-queue-0.24.3
- old
+ new
@@ -142,10 +142,10 @@
@project_root ||= Dir.pwd
end
def self.relative_path(path, root: project_root)
Pathname(path).relative_path_from(Pathname(root)).to_s
- rescue ArgumentError
+ rescue ArgumentError, TypeError
path
end
class SingleExample