diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-02 18:09:53 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-02 18:09:53 +0300 |
commit | 879372bc8cced2381df282d64608639cb063b007 (patch) | |
tree | b43271b4227ba258d2e4ac137d2bceee159dc78f /lib | |
parent | 0ce0b7bc5d8f9b88811a382c830cd13f2d38247d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rspec_flaky/report.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rspec_flaky/report.rb b/lib/rspec_flaky/report.rb index 393ba3ae9f7..73f30362cfe 100644 --- a/lib/rspec_flaky/report.rb +++ b/lib/rspec_flaky/report.rb @@ -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) |