-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Promisify tests and packager function #658
Conversation
46c9240
to
863010a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the record these are massive changes and I've reviewed to the best of my understanding of the changes, when GitHub doesn't show you the diff of a JS file because it is too big you know you've got a large PR 😆
The logic conversion seems sound and I don't think any nitpicks I might have over code style should block this PR being merged especially when linting seems OK with everything 👍
I assume from looking at the release notes for the most recent versions of electron-packager this change hasn't been released yet? If not the Docs are a little confusing as it suggests that the Promisified versions of the API should already work when in fact they don't. Is there an ETA on a release containing these changes? Thanks! |
All of the docs are based on the current state of I have about 3 more breaking changes to do before I release, and I do all of this work in my spare time, so I don't have an ETA, sorry. |
Hi @malept thanks for the clarification and quick reply. No problem about the ETA, I just wanted to check in case you had any idea. Thanks for all your work on this, it is appreciated! |
Summarize your changes:
Converts all tests to use Promises (and gets rid of the waterfall dependency), and adds Promise support to the
packager
function viapify
.This is technically a breaking change, because the return value of
packager
has changed.Fixes #627.