Fix JS errors and add back commit hash
This commit is contained in:
1 parent
7e5691804d
commit
b7cf758fbe
4 files changed
+14
-7
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user