lib/cli.rb in exercism-0.0.24 vs lib/cli.rb in exercism-0.0.25
- old
+ new
@@ -66,10 +66,10 @@
return
end
end
begin
- response = Exercism::Api.new(options[:host], Exercism.user).submit(submission.file)
+ response = Exercism::Api.new(options[:host], Exercism.user).submit(submission.path)
body = JSON.parse(response.body)
if body["error"]
say body["error"]
else