Skip to content

Commit

Permalink
chore: remove some outdated TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
kanadgupta committed Oct 12, 2022
1 parent b4935c0 commit 31b5bae
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/lib/createGHA/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}) 🔑`,
Expand Down
4 changes: 0 additions & 4 deletions src/lib/promptWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ export default async function promptTerminal<T extends string = string>(
/**
* 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') {
Expand Down

0 comments on commit 31b5bae

Please sign in to comment.