Fix new rubocop warnings
This commit is contained in:
parent
c7061991e7
commit
5d3ecffa28
41 changed files with 252 additions and 250 deletions
|
@ -13,7 +13,7 @@ module Redactable
|
|||
|
||||
def redact!(redaction)
|
||||
# check that this version isn't the current version
|
||||
fail OSM::APICannotRedactError.new if is_latest_version?
|
||||
raise OSM::APICannotRedactError.new if is_latest_version?
|
||||
|
||||
# make the change
|
||||
self.redaction = redaction
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue