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(style): rubocop arrests

as-op8f5a5bdc275f
diff --git a/app/models/work_package/pdf_export/page.rb b/app/models/work_package/pdf_export/page.rb
index 854291ea2d4..4cbf7c17cdf 100644
--- a/app/models/work_package/pdf_export/page.rb
+++ b/app/models/work_package/pdf_export/page.rb
@@ -23,7 +23,8 @@ module WorkPackage::PDFExport::Page
end
def custom_logo_image
- return unless CustomStyle.current.present? && CustomStyle.current.logo.present? && CustomStyle.current.logo.local_file.present?
+ return unless CustomStyle.current.present? &&
+ CustomStyle.current.logo.present? && CustomStyle.current.logo.local_file.present?
image_file = CustomStyle.current.logo.local_file.path
content_type = OpenProject::ContentTypeDetector.new(image_file).detect