The pr_app command was broken in two ways. First, it had a mismatching
argument name for the app/environment flag, resulting in an error
whenever it was called. Second, it was missing the -pr- as part of the
Heroku review app name, so it would never find the correct application.
These changes are hard to test with an executable vs. a more OO-based
piece of code, but this change was tested against a real application and
worked correctly.
The
pr_app
command was broken in two ways. First, it had a mismatching argument name for the app/environment flag, resulting in an error whenever it was called. Second, it was missing the-pr-
as part of the Heroku review app name, so it would never find the correct application. These changes are hard to test with an executable vs. a more OO-based piece of code, but this change was tested against a real application and worked correctly.