Commit 6035ad7e authored by Pat Thoyts's avatar Pat Thoyts

Create the githost.log file if necessary.

This resolves issue #1121.
Signed-off-by: default avatarPat Thoyts <patthoyts@users.sourceforge.net>
parent 8b7e404b
......@@ -10,6 +10,7 @@ module Gitlab
def self.read_latest
path = Rails.root.join("log/githost.log")
self.build unless File.exist?(path)
logs = File.read(path).split("\n")
end
......
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