Skip to content

Open correct tutorial workspace on Windows#2240

Merged
shati-patel merged 3 commits intomainfrom
shati-patel/windows-uri
Mar 28, 2023
Merged

Open correct tutorial workspace on Windows#2240
shati-patel merged 3 commits intomainfrom
shati-patel/windows-uri

Conversation

@shati-patel
Copy link
Copy Markdown
Contributor

@shati-patel shati-patel commented Mar 27, 2023

Follow-up to #2188 (review), which didn't quite work on Windows due to URI parsing issues.

Using Uri.file instead of Uri.parse works on Windows and I'll test in a codespace to make sure it also works there! (update: it works)

Checklist

N/A

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

Follow-up to #2188 (review), which didn't quite work on Windows due to URI parsing issues.

Using `Uri.file` instead of `Uri.parse` works on Windows and I'll test in a codespace to make sure it also works there!
Copy link
Copy Markdown
Contributor

@adityasharad adityasharad left a comment

Choose a reason for hiding this comment

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

Looks right. You can make sure this keeps working in future via integration tests that check out the template repo, which I think you have planned already.

@shati-patel
Copy link
Copy Markdown
Contributor Author

Still attempting to get the tests to pass (looks like the drive letter on Windows is being normalized to lowercase) 🙃

Co-authored-by: Elena Tanasoiu <elenatanasoiu@github.com>
@shati-patel shati-patel marked this pull request as ready for review March 28, 2023 13:51
@shati-patel shati-patel requested a review from a team as a code owner March 28, 2023 13:51
@shati-patel shati-patel merged commit e6efac0 into main Mar 28, 2023
@shati-patel shati-patel deleted the shati-patel/windows-uri branch March 28, 2023 14:26
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.

2 participants