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 @@ ...@@ -3,12 +3,12 @@
namespace :gitlab do namespace :gitlab do
namespace :banzai do namespace :banzai do
desc 'GitLab | Banzai | Render markdown using our FullPipeline (input will be requested)' desc 'GitLab | Banzai | Render markdown using our FullPipeline (input will be requested)'
task :render => :environment do |_t| task render: :environment do |_t|
markdown = Array.new markdown = []
puts "\nEnter markdown below, Ctrl-D to end (if you need blank lines, paste in the full text):" puts "\nEnter markdown below, Ctrl-D to end (if you need blank lines, paste in the full text):"
while buf = Readline.readline('', true) do while buf = Readline.readline('', true)
markdown << buf markdown << buf
end end
puts "Rendering using Gitlab's FullPipeline...\n\n" 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