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] Tasks update for cross platform compatibility #151

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

charlwillia6
Copy link

@charlwillia6 charlwillia6 commented Nov 11, 2024

Description ✏️

When using Git Bash in Windows, running the debugger caused an error for prepackage.js. The issue was because the path had incorrect forward slashes in the path.

Fixes this issue:
image

This fix makes the prepackaging cross-platform compatible and now it will work in Windows.

Checklist ✅

  • I have added screenshots (if UI changes are present).
  • I have done a self-review of my code.
  • I have manually tested my code (if applicable).

@Fryingpannn
Copy link

@Himanshu-Singh-Chauhan Could you test this one on windows?

Also @charlwillia6 , aren't we removing part of the path completely here? Would this not make it not be able to find

@charlwillia6
Copy link
Author

charlwillia6 commented Nov 17, 2024

@Himanshu-Singh-Chauhan Could you test this one on windows?

Also @charlwillia6 , aren't we removing part of the path completely here? Would this not make it not be able to find

@Fryingpannn This works great on Windows. In fact, prepackag'ing wasn't working on Windows at all before. Hence why I made this change. And it works on Linux too. The only one I wasn't sure about was Mac, because I can't test it.

The part that mattered was this for the path:

"cwd": "${workspaceFolder}/extensions/vscode"

This change is necessary for proper debugging in Windows.

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.

3 participants