diff options
Diffstat (limited to 'scripts/prune-old-flaky-specs')
-rwxr-xr-x | scripts/prune-old-flaky-specs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/prune-old-flaky-specs b/scripts/prune-old-flaky-specs index f7451fbd428..59f97e833b5 100755 --- a/scripts/prune-old-flaky-specs +++ b/scripts/prune-old-flaky-specs @@ -5,7 +5,10 @@ # gem manually on the CI require 'rubygems' -require_relative '../lib/rspec_flaky/report' +singleton_class.__send__(:alias_method, :require_dependency, :require) +$LOAD_PATH.unshift(File.expand_path('../lib', __dir__)) + +require 'rspec_flaky/report' report_file = ARGV.shift unless report_file |