Skip to content

Commit

Permalink
Merge pull request #271 from ifad/chore/comma-in-arguments
Browse files Browse the repository at this point in the history
Fix Style/TrailingCommaInArguments offense
  • Loading branch information
tagliala authored Sep 14, 2024
2 parents 25ccd7c + 526984d commit 13d55f9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
8 changes: 0 additions & 8 deletions .rubocop_todo.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/heathen/processor_methods/libreoffice.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def libreoffice(format:)
'--convert-to', to_suffix,
'--outdir', sandbox_dir,
job.content_file,
'--headless',
'--headless'
)

unless File.exist? target_file
Expand Down
2 changes: 1 addition & 1 deletion lib/heathen/processor_methods/tesseract.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def tesseract(format: nil)
job.content_file,
target_file,
'-l', lang.alpha3.downcase,
format,
format
)
raise ConversionFailed.new(executioner.last_messages) if executioner.last_exit_status != 0

Expand Down

0 comments on commit 13d55f9

Please sign in to comment.