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

Fix incorrect execaNode signature in index.d.ts #506

Merged
merged 2 commits into from Feb 11, 2023

Conversation

forivall
Copy link
Contributor

All signatures of execaNode support nodeOptions (and nodePath)

@sindresorhus
Copy link
Owner

CI is failing

index.test-d.ts Outdated
@@ -210,3 +210,7 @@ expectType<ExecaReturnValue>(
expectType<ExecaReturnValue<Buffer>>(
await execaNode('unicorns', ['foo'], {encoding: null}),
);
execaNode('unicorns', {nodeOptions: ['--async-stack-traces']})
Copy link
Collaborator

@ehmicky ehmicky Jul 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
execaNode('unicorns', {nodeOptions: ['--async-stack-traces']})
execaNode('unicorns', {nodeOptions: ['--async-stack-traces']});

@sindresorhus
Copy link
Owner

Bump

@forivall
Copy link
Contributor Author

thanks for the bump! looking now

Copy link
Collaborator

@ehmicky ehmicky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @forivall!

@ehmicky
Copy link
Collaborator

ehmicky commented Feb 11, 2023

@sindresorhus Is this ok to merge?

@sindresorhus sindresorhus merged commit 1f7677c into sindresorhus:main Feb 11, 2023
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

3 participants