angular-cn/aio/aio-builds-setup/dockerbuild/scripts-js/lib/clean-up
George Kalpakas a5d1d1161b fix(docs-infra): exit with an error when cleaning up the preview server fails (#36837)
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
2020-05-05 17:46:46 -07:00
..
build-cleaner.ts fix(docs-infra): exit with an error when cleaning up the preview server fails (#36837) 2020-05-05 17:46:46 -07:00
index.ts ci(docs-infra): add explicit return types to methods 2018-08-16 10:26:13 +01:00