lib/match/runner.rb in match-0.1.0 vs lib/match/runner.rb in match-0.1.1
- old
+ new
@@ -24,16 +24,16 @@
# Done
if self.changes_to_commit
message = GitHelper.generate_commit_message(params)
GitHelper.commit_changes(params[:workspace], message, params[:git_url])
- else
- GitHelper.clear_changes
end
TablePrinter.print_summary(params, uuid)
UI.success "All required keys, certificates and provisioning profiles are installed 🙌".green
+ ensure
+ GitHelper.clear_changes
end
def certificate(params: nil)
cert_type = :distribution
cert_type = :development if params[:type] == "development"