Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: missing type check on sortScripts #139

Merged
merged 2 commits into from
Jan 10, 2020

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Jan 10, 2020

require('sort-package-json')({scripts: undefined})
Thrown:
TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at sortScripts (<cwd>\node_modules\sort-package-json\index.js:117:24)

@keithamus keithamus merged commit 869178f into keithamus:master Jan 10, 2020
@keithamus
Copy link
Owner

🎉 This PR is included in version 1.38.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@fisker fisker deleted the fix-sort-script branch January 10, 2020 23:08
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants