From 1ed67ac70b15f21d4e0ebc6a5e01b6cdceae06e6 Mon Sep 17 00:00:00 2001 From: tommy-mitchell Date: Mon, 3 Jul 2023 22:26:21 -0500 Subject: [PATCH] remove reminders (added to #684) --- source/index.js | 1 - source/prerequisite-tasks.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/source/index.js b/source/index.js index 94388afe..34dcc16f 100644 --- a/source/index.js +++ b/source/index.js @@ -89,7 +89,6 @@ const np = async (input = 'patch', options, {pkg, rootDir}) => { const shouldEnable2FA = options['2fa'] && options.availability.isAvailable && !options.availability.isUnknown && !pkg.private && !npm.isExternalRegistry(pkg); - // TODO: move tasks to subdirectory const tasks = new Listr([ { title: 'Prerequisite check', diff --git a/source/prerequisite-tasks.js b/source/prerequisite-tasks.js index a1bed295..b207c3c3 100644 --- a/source/prerequisite-tasks.js +++ b/source/prerequisite-tasks.js @@ -11,7 +11,7 @@ const prerequisiteTasks = (input, pkg, options) => { let newVersion; const tasks = [ - { // TODO: consolidate tasks in move to listr2 + { title: 'Ping npm registry', enabled: () => !pkg.private && !isExternalRegistry, task: async () => npm.checkConnection(),