Add rubocop-i18n linter (#34057)
This commit is contained in:
parent
37b79c638f
commit
15da6c3c83
5 changed files with 21 additions and 2 deletions
|
@ -12,7 +12,7 @@ class VideoMetadataExtractor
|
|||
rescue Terrapin::ExitStatusError, Oj::ParseError
|
||||
@invalid = true
|
||||
rescue Terrapin::CommandNotFoundError
|
||||
raise Paperclip::Errors::CommandNotFoundError, 'Could not run the `ffprobe` command. Please install ffmpeg.'
|
||||
raise Paperclip::Errors::CommandNotFoundError, 'Could not run the `ffprobe` command. Please install ffmpeg.' # rubocop:disable I18n/RailsI18n/DecorateString -- This error is not user-facing
|
||||
end
|
||||
|
||||
def valid?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue