Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot 2020-05-02 15:09:53 +00:00
parent 0ce0b7bc5d
commit 879372bc8c
1 changed files with 1 additions and 1 deletions

View File

@ -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)