Skip to content

Commit

Permalink
return on error
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelmeurer committed Jun 19, 2024
1 parent 864d6b8 commit 5277d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/compats/check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Check < Baseline::Service
)

def call(compat)
check_uniqueness
check_uniqueness on_error: :return

if compat.checked?
raise Error, "Compat is already checked."
Expand Down

0 comments on commit 5277d42

Please sign in to comment.