Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix interactive apply asks in no change situation
This commit moves the pre-apply hooks that are now always run since #522 outside of the check for interactivity or asking for confirmation. It also moves - the early exit condition for the case when there are no releases to Delete or Update - the cleanup of released with no change to before the interactivity check This does subtly change the behaviour of preapply hooks when apply is invoked in interactive mode. The hooks will always be run before confirmation is asked for. In the event there are no releases to delete or update the preapply hooks will still run. Given that each preapply hook command must be idempotent I don't believe this is an issue. Fixes: #679 Signed-off-by: Thomas Arrow <[email protected]>
- Loading branch information