diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-16 21:18:33 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-16 21:18:33 +0300 |
commit | f64a639bcfa1fc2bc89ca7db268f594306edfd7c (patch) | |
tree | a2c3c2ebcc3b45e596949db485d6ed18ffaacfa1 /scripts/flaky_examples | |
parent | bfbc3e0d6583ea1a91f627528bedc3d65ba4b10f (diff) |
Add latest changes from gitlab-org/gitlab@13-10-stable-eev13.10.0-rc40
Diffstat (limited to 'scripts/flaky_examples')
-rwxr-xr-x | scripts/flaky_examples/prune-old-flaky-examples | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/scripts/flaky_examples/prune-old-flaky-examples b/scripts/flaky_examples/prune-old-flaky-examples index 8c09c4cc860..a5b50a7e8ea 100755 --- a/scripts/flaky_examples/prune-old-flaky-examples +++ b/scripts/flaky_examples/prune-old-flaky-examples @@ -1,16 +1,11 @@ #!/usr/bin/env ruby # frozen_string_literal: true -# lib/rspec_flaky/flaky_examples_collection.rb is requiring +# tooling/rspec_flaky/flaky_examples_collection.rb is requiring # `active_support/hash_with_indifferent_access`, and we install the `activesupport` # gem manually on the CI require 'rubygems' - -# In newer Ruby, alias_method is not private then we don't need __send__ -singleton_class.__send__(:alias_method, :require_dependency, :require) # rubocop:disable GitlabSecurity/PublicSend -$:.unshift(File.expand_path('../../lib', __dir__)) - -require 'rspec_flaky/report' +require_relative '../../tooling/rspec_flaky/report' report_file = ARGV.shift unless report_file |