lib/slackistrano/messaging/helpers.rb in slackistrano-3.8.2 vs lib/slackistrano/messaging/helpers.rb in slackistrano-3.8.3
- old
+ new
@@ -13,10 +13,11 @@
def username
options.fetch(:username, 'Slackistrano')
end
def deployer
- ENV['USER'] || ENV['USERNAME']
+ default = ENV['USER'] || ENV['USERNAME']
+ fetch(:local_user, default)
end
def branch
fetch(:branch)
end