Fix JS errors and add back commit hash

This commit is contained in:
Ondřej Hruška committed 2017-07-25 21:54:12 +02:00
1 parent 7e5691804d
commit b7cf758fbe
4 files changed
+14 -7

No files matched your search

+2 -2
View File
@@ -35,9 +35,9 @@ class InstancePresenter
def commit_hash
current_release_file = Pathname.new('CURRENT_RELEASE').expand_path
if current_release_file.file?
IO.read(current_release_file)
IO.read(current_release_file).strip!
else
""
''
end
end
end