Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
lovrocolic committed Dec 24, 2024
1 parent 6d7e48a commit 298856d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/invoices/refresh_draft_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def flag_lifetime_usage_for_refresh
end

def tax_error?(error)
error && error.is_a?(BaseService::UnknownTaxFailure)
error&.is_a?(BaseService::UnknownTaxFailure)
end

def reset_invoice_values
Expand Down

0 comments on commit 298856d

Please sign in to comment.