Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removing superfluous yield.

The `submit` method yields to the block it's been passed, prints out a trace,
then makes almost the same yield again. I assume that this is in error, and
could have been caused by my previous merge.
  • Loading branch information...
commit 03da49d56da895ee0750e256dfb1845bc4003260 1 parent b13f678
@runpaint authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  lib/octopi.rb
View
1  lib/octopi.rb
@@ -153,7 +153,6 @@ def submit(path, params = {}, format = "yaml", &block)
end
end
- resp = yield(path, query, format)
raise APIError,
"GitHub returned status #{resp.code}" unless resp.code.to_i == 200
# FIXME: This fails for showing raw Git data because that call returns
Please sign in to comment.
Something went wrong with that request. Please try again.