Skip to content

Commit

Permalink
Fix rubocop lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Saravanan Kannan authored and Saravanan Kannan committed Mar 6, 2024
1 parent d8a218f commit cd02ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/pdfs/distribution_pdf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def compute_and_render
text @distribution.partner.profile.primary_contact_phone, align: :right
move_down 10

if %w(shipped delivered).include? (@distribution.delivery_method)
if %w(shipped delivered).include?(@distribution.delivery_method)
move_up 10
text "Delivery address:", style: :bold
font_size 10
Expand Down

0 comments on commit cd02ffd

Please sign in to comment.