Skip to content

Commit

Permalink
Add an extra newline at the end of print_params output.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Jan 4, 2024
1 parent 98ca6df commit d6e22c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ronin/core/cli/printing/params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ def print_params(klass)
indent do
print_table(rows,header: PARAM_TABLE_HEADER, border: :line)
end

puts
end

#
Expand Down
1 change: 1 addition & 0 deletions spec/cli/printing/params_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class TestCommand < Ronin::Core::CLI::Command
" │ foo │ String │ Yes │ │ Foo param │",
" │ bar │ Integer │ No │ 42 │ Bar param │",
" └──────┴─────────┴──────────┴─────────┴─────────────┘",
"",
""
].join($/)
).to_stdout
Expand Down

0 comments on commit d6e22c9

Please sign in to comment.