mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
a5d1d1161b
Previously, when the preview server `build-cleanup` script failed, the error was logged but not reflected to the commands exit code. This seems to have been accidentally broken in #23576. This commit fixes it by ensuring the error is re-thrown from the `BuildCleaner#cleanUp()` method to allow the process to exit with an error exit code. PR Close #36837