()
| 42 | } |
| 43 | |
| 44 | async function promptConfirm(): Promise<boolean> { |
| 45 | const approved = await clack.confirm({ message: "Publish this project and draft the issue?" }); |
| 46 | return !clack.isCancel(approved) && approved === true; |
| 47 | } |
| 48 | |
| 49 | /** |
| 50 | * Consent gate: publishing uploads the project to a PUBLIC url, so confirm |