X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/67dd9e4c9d487bdb5f38a09dc0c99def4989326e..baf10cd39289cd7e94a819305e46f43e85a136c6:/lib/not_redactable.rb diff --git a/lib/not_redactable.rb b/lib/not_redactable.rb index d7c952463..75ff33176 100644 --- a/lib/not_redactable.rb +++ b/lib/not_redactable.rb @@ -5,7 +5,7 @@ module NotRedactable false end - def redact!(r) - raise OSM::APICannotRedactError.new + def redact!(_r) + fail OSM::APICannotRedactError.new end end