-
fix(core): only register forced shutdown when tui is enabled (#30735)
发布于
2025-04-15 16:13:01 +00:00 Current Behavior
The
registerForcedShutdownCallbacklifecycle hook does not exist if
the TUI is not enabled as it is not on CI. But Nx tries to invoke it
anyways so it causes an error in CI:
https://github.com/nrwl/nx/actions/runs/14471341199/job/40585817051?pr=30710#step:11:31Expected Behavior
The
registerForcedShutdownCallbackis only utilized when the TUI is
enabled so it will not be invoked on CI where it does not exist.Related Issue(s)
Fixes #
下载附件