Skip to content

Commit

Permalink
Make rubocop happy
Browse files Browse the repository at this point in the history
  • Loading branch information
gettalong committed Jul 13, 2022
1 parent 3b79850 commit e03d00c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Expand Up @@ -246,6 +246,7 @@ Layout/MultilineOperationIndentation:
- lib/hexapdf/type/acro_form/choice_field.rb # false alarm
- lib/hexapdf/type/annotations/widget.rb # false alarm
- lib/hexapdf/layout/style.rb # false alarm
- lib/hexapdf/layout/width_from_polygon.rb # false alarm

Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Expand Down
2 changes: 1 addition & 1 deletion lib/hexapdf/cli/form.rb
Expand Up @@ -270,7 +270,7 @@ def apply_field_value(field, value)
else
raise "Field type #{field.concrete_field_type} not yet supported"
end
rescue
rescue StandardError
raise "Error while setting '#{field.full_field_name}': #{$!.message}"
end

Expand Down
2 changes: 1 addition & 1 deletion test/hexapdf/document/test_destinations.rb
Expand Up @@ -215,7 +215,7 @@ def destination(dest)

describe "create_fit_page" do
it "creates the destination" do
dest = @doc.destinations.create_fit_page( @page)
dest = @doc.destinations.create_fit_page(@page)
assert_equal([@page, :Fit], dest)
end

Expand Down

0 comments on commit e03d00c

Please sign in to comment.