2
0

Add rubocop-i18n linter (#34057)

This commit is contained in:
Damien Mathieu
2025-03-04 14:28:33 +01:00
committed by GitHub
parent 37b79c638f
commit 15da6c3c83
5 changed files with 21 additions and 2 deletions

View File

@@ -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?