-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Github package.json dependency version badge; affects [githubpackagejson githubmanifest npm] #2709
Conversation
…ejson githubmanifest npm] Close #2259 which is mostly about a `package.json` dependency badge.
|
} else if (kind === 'prod') { | ||
dependenciesOfKind = dependencies | ||
} else { | ||
throw Error(`Not very kind: ${kind}`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😆 The only time this would get hit is if a service accepts and/or passes along a bad dependency kind here right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thought I responded to this before. Yes! That would be a programmer error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay cool. Just wanted to make sure we weren't planning on surfacing this message up to end users
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it got thrown in production, they'd see shields internal error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Close #2259 which is mostly about a
package.json
dependency badge.Requires #2644.