There was an error while loading. Please reload this page.
1 parent e5ccefe commit a2f2ecaCopy full SHA for a2f2eca
1 file changed
config/initializers/git_sha.rb
@@ -3,7 +3,7 @@
3
revisions_logfile = "/opt/blacklight-catalog/revisions.log"
4
GIT_SHA =
5
if Rails.env.production? && File.exist?(revisions_logfile)
6
- "tail -1 #{revisions_logfile}".chomp.split(" ")[3].gsub(/\)$/, '')
+ "tail -1 #{revisions_logfile}".chomp.split(" ")[3].gsub(/\)$/, "")
7
elsif Rails.env.development? || Rails.env.test?
8
"git rev-parse HEAD".chomp
9
else
0 commit comments