From 31b5baed486cc69aa605098f483d9c23c2cd0855 Mon Sep 17 00:00:00 2001 From: Kanad Gupta Date: Wed, 12 Oct 2022 16:44:00 -0500 Subject: [PATCH] chore: remove some outdated TODOs --- src/lib/createGHA/index.ts | 1 - src/lib/promptWrapper.ts | 4 ---- 2 files changed, 5 deletions(-) diff --git a/src/lib/createGHA/index.ts b/src/lib/createGHA/index.ts index f4fde6017..c929137d7 100644 --- a/src/lib/createGHA/index.ts +++ b/src/lib/createGHA/index.ts @@ -311,7 +311,6 @@ export default async function createGHA( success.push( chalk.bold('Almost done! Just a couple more steps:'), `1. Push your newly created file (${chalk.underline(filePath)}) to GitHub 🚀`, - // TODO: only show this if opts.key is a thing `2. Create a GitHub secret called ${chalk.bold( GITHUB_SECRET_NAME )} and populate the value with your ReadMe API key (${key}) 🔑`, diff --git a/src/lib/promptWrapper.ts b/src/lib/promptWrapper.ts index 6c8ad1c72..644bea791 100644 --- a/src/lib/promptWrapper.ts +++ b/src/lib/promptWrapper.ts @@ -26,10 +26,6 @@ export default async function promptTerminal( /** * Runs a check before every prompt renders to make sure that * prompt is not being run in a CI environment. - * - * @todo it'd be cool if we could just throw an error here - * and have it bubble up the error to our top-level error handler - * in src/cli.ts */ function onRender() { if (ciDetect() && process.env.NODE_ENV !== 'test') {