|
|
|
@ -58,8 +58,8 @@ export async function promptForYaml<ObjectT>({schema, currentValue, name}: YamlP |
|
|
|
|
type: "expand", |
|
|
|
|
message: "Choose how to proceed:", |
|
|
|
|
choices: [ |
|
|
|
|
{key: "r", name: "Retry edits with current text", value: RETRY}, |
|
|
|
|
{key: "a", name: "Abort editing and keep original state", value: ABORT} |
|
|
|
|
{key: "r", name: "Retry editing current text", value: RETRY}, |
|
|
|
|
{key: "a", name: "Abort editing and reset to original state", value: ABORT} |
|
|
|
|
], |
|
|
|
|
}) |
|
|
|
|
switch (option) { |
|
|
|
|