mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 03:33:25 +00:00
fix(setup): show a known manual step in the interactive dry run
The approval prompt now discloses a client's manual completion step, but the interactive TTY dry run still printed only the planned file changes, so `rea setup --dry-run --client grok_bot` hid the Grok Bot connector step. The dry-run renderer now prints the planned result's remediation the same way. Refs #7692 Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
This commit is contained in:
1 parent
bbad1db998
commit
cf58037726
3 files changed
+62
-26
No files matched your search
@@ -282,7 +282,8 @@ const runSetupCommand = async (
|
||||
!input.formatExplicit &&
|
||||
hasInteractiveTerminal()
|
||||
) {
|
||||
if (result.status === "planned") renderSetupDryRun(result.plannedActions);
|
||||
if (result.status === "planned")
|
||||
renderSetupDryRun(result.plannedActions, result.remediation);
|
||||
else renderInteractiveSetupResult(result, environment);
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in new issue
Block a user