Commit 458f8c1f authored by Jacob Vosmaer's avatar Jacob Vosmaer

Explain why we create a StringIO

parent 7c54c63a
......@@ -79,6 +79,8 @@ namespace :gitlab do
def configure_cron_mode
if ENV['CRON']
# We need an object we can say 'puts' and 'print' to; let's use a
# StringIO.
require 'stringio'
$progress = StringIO.new
else
......
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