From b0fb3a1f28ef289825441043374ae0570b258759 Mon Sep 17 00:00:00 2001 From: tommy-mitchell Date: Thu, 29 Feb 2024 15:48:44 -0600 Subject: [PATCH] remove extraneous todos --- source/cli-implementation.js | 1 - source/index.js | 1 - 2 files changed, 2 deletions(-) diff --git a/source/cli-implementation.js b/source/cli-implementation.js index a6b3fd6b..6daa24c9 100755 --- a/source/cli-implementation.js +++ b/source/cli-implementation.js @@ -126,7 +126,6 @@ export async function getOptions() { const runPublish = !flags.releaseDraftOnly && flags.publish && !package_.private; - // TODO: does this need to run if `runPublish` is false? const availability = runPublish ? await npm.isPackageNameAvailable(package_) : { isAvailable: false, isUnknown: false, diff --git a/source/index.js b/source/index.js index 833b2032..e676bb9f 100644 --- a/source/index.js +++ b/source/index.js @@ -239,7 +239,6 @@ const np = async (input = 'patch', options, {package_, rootDirectory}) => { return '[Preview] GitHub Releases draft will not be opened in preview mode.'; } }, - // TODO: parse version outside of index task: () => releaseTaskHelper(options, package_, packageManager), }] : [], ], {