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

[dependency-selectors] fix Arborist example #178

Closed
wants to merge 2 commits into from

Conversation

kyle-west
Copy link

@kyle-west kyle-west commented Aug 19, 2022

Arborist.loadActual is an async function. The docs show it as a callback pattern. Also, await's were being used without being inside an async function. This change fixes those examples.

References

Mirrored in npm/cli#5328

@kyle-west kyle-west requested a review from a team as a code owner August 19, 2022 16:37
@kyle-west kyle-west temporarily deployed to github-pages August 19, 2022 16:43 Inactive
@MylesBorins
Copy link
Contributor

I'm going to close this PR. When npm/cli#5328 lands this repo will automatically get updated

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

2 participants