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

remove return type requirement of pbjs callback #1025

Merged
merged 3 commits into from
May 18, 2018

Conversation

vuryleo
Copy link
Contributor

@vuryleo vuryleo commented Apr 25, 2018

The callback function of pbjs main should not enforce a return value.

The callback function of pbjs main should not enforce a return value.
@dcodeIO
Copy link
Member

dcodeIO commented Apr 30, 2018

Iirc, it may return an exit code, see. Not sure why it stated {}, hmm.

@vuryleo
Copy link
Contributor Author

vuryleo commented May 2, 2018

I re-read the code again, the return type is the function of pbjs.main, but not the callback function. Will revert the commit.

The type is not for the callback function,
@dcodeIO dcodeIO merged commit d4ff57a into protobufjs:master May 18, 2018
@dcodeIO
Copy link
Member

dcodeIO commented May 18, 2018

Thanks!

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