Skip to content

fix(vsc): generate codelens on windows#1740

Merged
Druue merged 2 commits intomainfrom
fix/1738
May 29, 2024
Merged

fix(vsc): generate codelens on windows#1740
Druue merged 2 commits intomainfrom
fix/1738

Conversation

@Druue
Copy link
Copy Markdown
Contributor

@Druue Druue commented May 27, 2024

pass cwd directly to exec instead of cd

fixes #1738

@Druue Druue added this to the 5.15.0 milestone May 27, 2024
@github-actions
Copy link
Copy Markdown

github-actions bot commented May 27, 2024

🤖 Pull request artifacts

empty string

file commit
prisma.vsix 4fc58f0

@github-actions
Copy link
Copy Markdown

github-actions bot added a commit that referenced this pull request May 27, 2024
Copy link
Copy Markdown
Contributor

@janpio janpio left a comment

Choose a reason for hiding this comment

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

As far as I understood, rootpath will not be the correct, usable path for this on Windows.

Copy link
Copy Markdown

@SevInf SevInf left a comment

Choose a reason for hiding this comment

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

Would changing rootPath from uri.path to uri.fsPath fix the issue?

@janpio
Copy link
Copy Markdown
Contributor

janpio commented May 28, 2024

From what I linked to in the Slack discussion, yes. Not sure what potential side effects this would have of course.

github-actions bot added a commit that referenced this pull request May 28, 2024
@Druue
Copy link
Copy Markdown
Contributor Author

Druue commented May 29, 2024

I can confirm that it works on windows now :) that was harrowing 💀

Screen.Recording.2024-05-29.at.11.20.20.mov

@Druue Druue merged commit c6a22d2 into main May 29, 2024
@Druue Druue deleted the fix/1738 branch May 29, 2024 16:23
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.

Generate codelens fails on Windows

4 participants