lib/salesforcedeploytool/app.rb in salesforce-deploy-tool-0.2.0 vs lib/salesforcedeploytool/app.rb in salesforce-deploy-tool-0.2.1
- old
+ new
@@ -5,10 +5,10 @@
def initialize config
@git_repo = config[:git_repo]
@git_dir = config[:git_dir]
@env = config[:env]
- @username = @env == prod ? config[:username] : config[:username] + '.' + @env
+ @username = @env == 'prod' ? config[:username] : config[:username] + '.' + @env
@password = config[:password]
@debug = config[:debug]
@server_url = @env == 'prod' ? 'https://login.salesforce.com' : 'https://test.salesforce.com'