lib/learn_submit/submission.rb in learn-submit-1.0.0 vs lib/learn_submit/submission.rb in learn-submit-1.0.1
- old
+ new
@@ -57,14 +57,10 @@
when 404
puts 'Sorry, it seems like there was a problem connecting with Learn. Please try again.'
exit
else
puts pr_response.message
-
- if retries > 0
- puts "Trying again..."
- submit!(retries-1)
- end
+ exit
end
end
end
end