From 8a4114621e1c2d38fba7ec6f25ab9828fbd5705a Mon Sep 17 00:00:00 2001 From: nofar Date: Wed, 14 Feb 2024 12:55:25 +0100 Subject: [PATCH] Fixes #37163 - Use require_relative for 'coverage_reporter' (#626) Replace the usage of require with require_relative for 'coverage_reporter', ensuring that it is loaded relative to the current file's directory. --- lib/minitest/hammer_coverage_plugin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/minitest/hammer_coverage_plugin.rb b/lib/minitest/hammer_coverage_plugin.rb index 87985c63c..6481b23f4 100644 --- a/lib/minitest/hammer_coverage_plugin.rb +++ b/lib/minitest/hammer_coverage_plugin.rb @@ -1,4 +1,4 @@ -require 'coverage_reporter' +require_relative 'coverage_reporter' require "json" module Minitest