Skip to content
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

Solves TypeError when using meow with zeit/pkg #85

Merged
merged 2 commits into from
Apr 25, 2018
Merged

Solves TypeError when using meow with zeit/pkg #85

merged 2 commits into from
Apr 25, 2018

Conversation

thiagodp
Copy link
Contributor

Closes #84

@sindresorhus sindresorhus changed the title Solves TypeError when using meow with zeit/pkg (#84) Solves TypeError when using meow with zeit/pkg Apr 25, 2018
index.js Outdated
@@ -47,7 +47,7 @@ module.exports = (helpMessage, opts) => {

minimistOpts = buildMinimistOptions(minimistOpts);

const pkg = opts.pkg;
const pkg = opts.pkg || {};
Copy link
Owner

Choose a reason for hiding this comment

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

Better to place this on line 29, where the other logic is.

@thiagodp
Copy link
Contributor Author

Updated

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.

None yet

2 participants