Skip to content

Commit

Permalink
remove extraneous todos
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-mitchell committed Feb 29, 2024
1 parent 43c4825 commit b0fb3a1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion source/cli-implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion source/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}] : [],
], {
Expand Down

0 comments on commit b0fb3a1

Please sign in to comment.