Skip to content

Fix error in callback signatures#435

Merged
mapleeit merged 2 commits intoform-data:masterfrom
LinusU:patch-1
Aug 27, 2019
Merged

Fix error in callback signatures#435
mapleeit merged 2 commits intoform-data:masterfrom
LinusU:patch-1

Conversation

@LinusU
Copy link
Copy Markdown
Contributor

@LinusU LinusU commented Aug 2, 2019

The functions actually give null as the error parameter, and not undefined.

Without this, util.promisify can't be typed correctly on these functions as it expects the callback to receive Error | null.

The functions actually give `null` as the error parameter, and not `undefined`.

Without this, `util.promisify` can't be typed correctly on these functions as it expects the callback to receive `Error | null`.
@coveralls
Copy link
Copy Markdown

coveralls commented Aug 2, 2019

Coverage Status

Coverage remained the same at 98.122% when pulling a6bc2d4 on LinusU:patch-1 into 905f173 on form-data:master.

@mapleeit
Copy link
Copy Markdown
Collaborator

mapleeit commented Aug 3, 2019

/rebuild

@mapleeit
Copy link
Copy Markdown
Collaborator

mapleeit commented Aug 3, 2019

LGTM

@LinusU
Copy link
Copy Markdown
Contributor Author

LinusU commented Aug 3, 2019

The build is failing on Windows w/ Node 4:

$ nvs add 4
Downloading bootstrap node from https://nodejs.org/dist/v10.12.0/node-v10.12.0-win-x64.7z
Failed to download node binary.
The command "nvs add 4" failed and exited with 1 during .

@LinusU
Copy link
Copy Markdown
Contributor Author

LinusU commented Aug 13, 2019

ping @mapleeit, could you restart the build for windows/node4?

@mapleeit
Copy link
Copy Markdown
Collaborator

ping @mapleeit, could you restart the build for windows/node4?

done.

@LinusU
Copy link
Copy Markdown
Contributor Author

LinusU commented Aug 14, 2019

Ugh, we're blocked on isaacs/rimraf#195 😅

@mapleeit
Copy link
Copy Markdown
Collaborator

mapleeit commented Aug 14, 2019

I'm afraid so. Can ping me again when it's ready. 😄

@LinusU
Copy link
Copy Markdown
Contributor Author

LinusU commented Aug 14, 2019

@mapleeit should be good to go now, mind restarting the build again?

@mapleeit
Copy link
Copy Markdown
Collaborator

Done, waiting for the result. : )

@mapleeit
Copy link
Copy Markdown
Collaborator

mapleeit commented Aug 15, 2019

@LinusU still failed, should we update the version of rimraf in package.json?

@LinusU
Copy link
Copy Markdown
Contributor Author

LinusU commented Aug 15, 2019

Did it 👌

@mapleeit mapleeit requested a review from alexindigo August 15, 2019 09:16
@mapleeit
Copy link
Copy Markdown
Collaborator

LGTM.

@alexindigo Please take a look if you have time. : )

@mapleeit
Copy link
Copy Markdown
Collaborator

ping @alexindigo

@alexindigo
Copy link
Copy Markdown
Member

@mapleeit Looks good to me, unless it’s a trick question. :)
Do you want me to merge or you’re ok pushing the button yourself?
Thanks.

@mapleeit mapleeit merged commit e8827ff into form-data:master Aug 27, 2019
@mapleeit
Copy link
Copy Markdown
Collaborator

Both is ok to me, haha.
I merged this. Thanks! @LinusU

@LinusU LinusU deleted the patch-1 branch August 27, 2019 16:04
@LinusU
Copy link
Copy Markdown
Contributor Author

LinusU commented Aug 27, 2019

Would be great if we could get a release cut with this so that we can move forward with sindresorhus/got#849 ☺️

@mapleeit
Copy link
Copy Markdown
Collaborator

We need to ping @alexindigo again 😄

@alexindigo
Copy link
Copy Markdown
Member

@LinusU @mapleeit Published 2.5.1. Thanks a lot.

@LinusU
Copy link
Copy Markdown
Contributor Author

LinusU commented Aug 29, 2019

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.

5 participants