Undefined variable fix.

Missing fetch(: ).
This commit is contained in:
Simon hughes
2016-08-04 13:03:47 +01:00
committed by GitHub
parent 561331b263
commit 4a3560b753
+1 -1
View File
@@ -22,7 +22,7 @@ module CapistranoDeploytags
def self.commit_message(current_sha, stage)
if fetch(:deploytag_commit_message, false)
deploytag_commit_message
fetch(:deploytag_commit_message)
else
tag_user = (ENV['USER'] || ENV['USERNAME'] || 'deployer').strip
"#{tag_user} deployed #{current_sha} to #{stage}"