You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks @schneems, this is a known issue (#1227 -- yep, it's been around a while) and we have a WI in our backlog for it. Thanks for the clear example. I'm going to mark this as a duplicate, but please let me know if I'm wrong about that.
Expected: Running
heroku run <cmd>
functions the same asheroku run <cmd> --exit-code
but the exit code$?
is preserved.Actual:
This seems to only happen when using commands that are defined by a buildpack or the Procfile. In this case
yolo
is defined in the Procfile.This issue affects users of integration testing library
heroku_hatchet
which sets this flag by default https://github.com/heroku/hatchet/blob/1cbbf7f0b482d466bfd32a4cacbc3177010dab97/lib/hatchet/heroku_run.rb#L122C48-L122C57The text was updated successfully, but these errors were encountered: