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
adv-r (master): s3_website push --headless
ERROR: s3_website push was called with arguments ["--headless"]
Usage: "s3_website push".
adv-r (master): echo $?
0
Should be non-zero to indicate failure. This made me believe that s3_website was cheerfully working for weeks when in fact it was just failing silently :(
The text was updated successfully, but these errors were encountered:
Hi and thanks for reporting this bug. You are absolutely right. The exit status should be non-zero in your case.
I've fixed this problem in the version 2.1.12. Here is the commit: 60b3cf8.
The bug was caused by an unexpected behaviour in Thor. For more discussion on this unexpected exit status, see rails/thor#244.
As a side note, if you have been using the version 1 of s3_website, please read the release note on the version 2. The --headless switch no longer exists in that version. There are other backward incompatible changes as well.
e.g.:
Should be non-zero to indicate failure. This made me believe that
s3_website
was cheerfully working for weeks when in fact it was just failing silently :(The text was updated successfully, but these errors were encountered: