BigW Consortium Gitlab

Commit 60d3e948 by Dmitriy Zaporozhets

Merge pull request #1122 from patthoyts/pt/missing-log

Create the githost.log file if necessary.
parents b683a71a 6035ad7e
......@@ -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