bin/sf in salesforce-deploy-tool-0.12.0 vs bin/sf in salesforce-deploy-tool-0.12.1

- old
+ new

@@ -173,24 +173,26 @@ dc_gen.output = DESTRUCTIVE_CHANGE_FILE dc_gen.exclude = options.exclude.split(',') unless options.exclude.nil? dc_gen.verbose = false if not options.debug dc_gen.generate_destructive_changes - # Push code to sandbox with Destructive changes - begin - # Set version - sfdt.build_number = options.build_number if not options.build_number.nil? - sfdt.set_version + end - # Enable test if option enabled - sfdt.test = options.test.nil? ? false : true + # Push code to sandbox + begin + # Set version + sfdt.build_number = options.build_number if not options.build_number.nil? + sfdt.set_version - # Push - sfdt.push - ensure - sfdt.clean_version - end + # Enable test if option enabled + sfdt.test = options.test.nil? ? false : true + + # Push + sfdt.push + ensure + sfdt.clean_version end + end end command :sandbox do |c| c.syntax = 'sf sandbox SANDBOX_NAME'