From 554ec0a277ddedcb70edc913664947223df2b0ff Mon Sep 17 00:00:00 2001 From: Christophe Bliard Date: Fri, 21 Oct 2022 17:06:17 +0200 Subject: [PATCH] Fix missing import + output failing specs line by line --- script/github_pr_errors | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/github_pr_errors b/script/github_pr_errors index c152f5e3b7e..2f28c8ede42 100755 --- a/script/github_pr_errors +++ b/script/github_pr_errors @@ -9,6 +9,7 @@ require 'pathname' require 'json' require 'rest-client' require 'pry' +require 'yaml' GITHUB_API_OPENPROJECT_PREFIX = "https://api.github.com/repos/opf/openproject" RAILS_ROOT = Pathname.new(__dir__).dirname @@ -190,5 +191,5 @@ if is_successful elsif errors.empty? warn "No rspec errors found :-/" else - puts errors.map { "'#{_1}'" }.join(" ") + puts errors.map { "'#{_1}'" } end