Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix missing import + output failing specs line by line

Christophe Bliard554ec0a277dd
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