We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
in the src/index file has a method called isJSON
const isJSON = str => str.startsWith('{')
there is cause a problem when the param str is undefined
so, i modify it as below, it work
const isJSON = str => str ? str.startsWith('{') : false
The text was updated successfully, but these errors were encountered:
d3b6818
No branches or pull requests
in the src/index file has a method called isJSON
const isJSON = str => str.startsWith('{')
there is cause a problem when the param str is undefined
so, i modify it as below, it work
const isJSON = str => str ? str.startsWith('{') : false
The text was updated successfully, but these errors were encountered: