Commit 04c86ff1 authored by Stan Hu's avatar Stan Hu

Merge branch...

Merge branch '216349-update-tests-metadata-uninitialized-constant-gitlab-in-rspec_flaky-report' into 'master'

Fix error when running update-tests-metadata in master

Closes #216349

See merge request gitlab-org/gitlab!30940
parents 53d03151 d328c16d
......@@ -40,7 +40,7 @@ module RspecFlaky
report_path_dir = File.dirname(file_path)
FileUtils.mkdir_p(report_path_dir) unless Dir.exist?(report_path_dir)
File.write(file_path, Gitlab::Json.pretty_generate(flaky_examples.to_h))
File.write(file_path, JSON.pretty_generate(flaky_examples.to_h))
end
def prune_outdated(days: OUTDATED_DAYS_THRESHOLD)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment