Skip to content

Commit

Permalink
make it ruby3.0 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
zed-0xff committed May 10, 2024
1 parent 37931a3 commit 674cd5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pedump/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def dump_action action, f

puts action_title(action) unless @options[:format] == :binary || @actions == [:imphash]

return dump(data, action:) if [:inspect, :table, :json, :yaml].include?(@options[:format])
return dump(data, action: action) if [:inspect, :table, :json, :yaml].include?(@options[:format])

dump_opts = {:name => action}
case action
Expand Down

0 comments on commit 674cd5d

Please sign in to comment.