lib/learn_submit/submission.rb in learn-submit-1.3.0 vs lib/learn_submit/submission.rb in learn-submit-1.3.1
- old
+ new
@@ -76,10 +76,11 @@
action: 'opened'
}
)
end
+ puts 'Done.'
after_ide_submission(repo_name)
rescue Timeout::Error
if retries > 0
puts "There was a problem submitting this lab. Retrying..."
simulate_submission!(retries-1)
@@ -131,10 +132,10 @@
end
end
case pr_response.status
when 200
- puts "Done."
+ puts 'Done.'
after_ide_submission(repo_name)
File.write(file_path, 'Done.')
exit
when 404
puts 'Sorry, it seems like there was a problem connecting with Learn. Please try again.'