lib/salesforcedeploytool/app.rb in salesforce-deploy-tool-0.0.5 vs lib/salesforcedeploytool/app.rb in salesforce-deploy-tool-0.0.6
- old
+ new
@@ -11,9 +11,11 @@
@password = config[:password]
@debug = config[:debug]
@server_url = @env == 'prod' ? 'https://login.salesforce.com' : 'https://test.salesforce.com'
+ self.clone if ! Dir.exists? File.join(@git_dir,'.git')
+
end
def clone
if Dir.exists? File.join(@git_dir,'.git')