We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9a7bf3 commit 8c9399bCopy full SHA for 8c9399b
Gemfile.lock
@@ -199,7 +199,7 @@ DEPENDENCIES
199
rubocop-rspec_rails
200
201
RUBY VERSION
202
- ruby 3.3.5p100
+ ruby 3.4.2p28
203
204
BUNDLED WITH
205
- 2.6.1
+ 2.6.7
lib/dorian/bin.rb
@@ -1630,7 +1630,7 @@ def format(path, context:)
1630
end
1631
when :pdf
1632
doc = HexaPDF::Document.open(path)
1633
- doc.trailer.info.each { |key, _| doc.trailer.info.delete(key) }
+ doc.trailer.info.each_key { |key| doc.trailer.info.delete(key) }
1634
doc.write(path, update_fields: false)
1635
after = File.read(path)
1636
when :tex
0 commit comments