X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0d3a9ed9cb47ce3b89ea9eaffbb589f9a9ff6d22..5cbd4038edb32b0304bd766e70fc680ea447b52b:/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