Commit eb695e04 authored by John Hope's avatar John Hope Committed by Brett Walker

Fix some linting suggestions from rubocop

parent c3317047
......@@ -3,12 +3,12 @@
namespace :gitlab do
namespace :banzai do
desc 'GitLab | Banzai | Render markdown using our FullPipeline (input will be requested)'
task :render => :environment do |_t|
markdown = Array.new
task render: :environment do |_t|
markdown = []
puts "\nEnter markdown below, Ctrl-D to end (if you need blank lines, paste in the full text):"
while buf = Readline.readline('', true) do
markdown << buf
while buf = Readline.readline('', true)
markdown << buf
end
puts "Rendering using Gitlab's FullPipeline...\n\n"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment