Skip to content

Improve the message error when attaching onCancel after the promise settled#31

Merged
sindresorhus merged 7 commits intosindresorhus:mainfrom
jopemachine:fix-attach-err-msg
Apr 24, 2022
Merged

Improve the message error when attaching onCancel after the promise settled#31
sindresorhus merged 7 commits intosindresorhus:mainfrom
jopemachine:fix-attach-err-msg

Conversation

@jopemachine
Copy link
Copy Markdown
Contributor

Fixes #23.

@jopemachine
Copy link
Copy Markdown
Contributor Author

jopemachine commented Mar 29, 2022

CI logs say Cannot find module 'typescript'.

Should I add typescript to devDependencies?

@jopemachine
Copy link
Copy Markdown
Contributor Author

I found the same looking issue on xojs/xo#555, could this issue be resolved through upgrade xo to 0.46.0 or higher?

@sindresorhus
Copy link
Copy Markdown
Owner

could this issue be resolved through upgrade xo to 0.46.0 or higher?

Yes

@sindresorhus
Copy link
Copy Markdown
Owner

Linting is failing

@jopemachine
Copy link
Copy Markdown
Contributor Author

It seems we need to drop Node 8, and 10 in CI because this module is ESM.

@sindresorhus sindresorhus merged commit aab3b8d into sindresorhus:main Apr 24, 2022
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.

Improve the message error when attaching onCancel after the promise settled

2 participants