Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
image: don't mask imagesize failures
On a failed image-size check, Build/check-size currently prints an error message, removes the offending build file, and returns success to the build system, which is problematic for a few reasons. Returning success lets the overall build complete without flagging the error, unless a user happens to search through logs. It also allows subsequent build steps to run, which can fail in various ways due to the target file's removal, and result in broken image files (e.g. only a header/footer present). Update check-size to return failure as needed to avoid these problems. Signed-off-by: Tony Ambardar <[email protected]>
- Loading branch information