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
(Perhaps) mistakenly assumes that if you put an .expect() on .status() from Command that it will error if the command results in a non-zero exit code. This is not actually the case, as .status() returns a Result<StatusCode> and the .expect() only gets raised if there is no StatusCode inside, the command may still have failed.
I would suggest to also check the status code of the go command ❤
The text was updated successfully, but these errors were encountered:
Hi again! Your friendly neighbourhood Build System (W)rapper! It turns out that this line here: https://github.com/bottlerocket-os/twoliter/blob/develop/tools/krane/build.rs#L54
(Perhaps) mistakenly assumes that if you put an
.expect()
on.status()
fromCommand
that it will error if the command results in a non-zero exit code. This is not actually the case, as.status()
returns aResult<StatusCode>
and the.expect()
only gets raised if there is no StatusCode inside, the command may still have failed.I would suggest to also check the status code of the go command ❤
The text was updated successfully, but these errors were encountered: