Skip to content

Correct the return value for .finalize()#306

Closed
jeffposnick wants to merge 1 commit into
archiverjs:masterfrom
jeffposnick:patch-1
Closed

Correct the return value for .finalize()#306
jeffposnick wants to merge 1 commit into
archiverjs:masterfrom
jeffposnick:patch-1

Conversation

@jeffposnick

Copy link
Copy Markdown

The current JSDoc doesn't reflect the fact that a promise is returned by finalize().

I hope that the description of when the promise resolves vs. when it rejects is correct.

@ctalkington

Copy link
Copy Markdown
Member

sorry it's taken a bit to get to this. I feel like we may need to have both as possible return values. Not sure if we should look at removing this as a return value and just moving to an instantly rejected promise. I really need to dig into promises more...

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.

2 participants