Skip to content

Conversation

@session567
Copy link

if (typeof license !== "undefined" && !isLicense(license)) {
throw new Error(
`Invalid license "${license}". Must be one of: ${Object.keys(
`Invalid license "${license}". Must be one of: ${Object.values(
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This previously showed the error as "Must be one of: [1, 2, 3, 4]"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant