Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

replace full call to app info (actually three api calls) with just on…

…e call to simple app info

issue #
  • Loading branch information...
commit 5b0b76e9c37f4e42d8d6cef2d8204c2ed1631dd6 1 parent 34e5623
@ryanbrainard ryanbrainard authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/heroku/command/direct.rb
View
2  lib/heroku/command/direct.rb
@@ -52,7 +52,7 @@ def war
end
begin
- heroku.info app
+ heroku.get("/apps/#{app}")
rescue
raise Heroku::Command::CommandFailed, "No access to this app"
end
Please sign in to comment.
Something went wrong with that request. Please try again.