🚀 Feature: Throw an error when the user has no packages on npm #17
Labels
good first issue
Good for newcomers, please hop on!
status: accepting prs
Please, send a pull request to resolve this!
type: feature
New enhancement or request
Bug Report Checklist
main
branch of the repository.Overview
Right now, if you run
npx tidelift-me-up --username "#JI*#@%OJSL"
(some username that definitely doesn't exist), it does ... nothing.That could be confusing for folks who mistype their username. Let's have the package
throw new Error
when the user has no packages published to npm.Additional Info
Right now, we fetch user npm packages with the
npm-user-packages
package here:tidelift-me-up/src/tideliftMeUp.ts
Lines 24 to 26 in 148ddcb
The text was updated successfully, but these errors were encountered: