Skip to content

Conversation

@jameshurst
Copy link
Contributor

References

Code changes

Uses the result of shutil.which to run npm when locating the global prefix.

This fixes retreiving the npm global prefix on Windows. On Windows the npm command is actually named npm.CMD, but shutil.which is able to successfully resolve npm to npm.CMD. By using the result of shutil.which to run npm we are able to account for the Windows specific suffix.

User-facing changes

Backwards-incompatible changes

Chores

  • linted
  • tested
  • documented
  • changelog entry

@github-actions
Copy link

Binder 👈 Launch a binder notebook on branch jameshurst/jupyterlab-lsp/master

Copy link
Member

@krassowski krassowski left a comment

Choose a reason for hiding this comment

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

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working os:windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants