fix: invalid ESM module path on Windows#7162
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7162 +/- ##
=======================================
Coverage ? 72.39%
=======================================
Files ? 31
Lines ? 1913
Branches ? 414
=======================================
Hits ? 1385
Misses ? 446
Partials ? 82
Continue to review full report in Codecov by Sentry.
|
|
Interesting! We probably want to do the same in |
fix: invalid ESM module path on Windows.
|
Right. This exception may thrown by |
code-asher
left a comment
There was a problem hiding this comment.
Sorry for the delay. Thank you for doing this! The next release of code-server should be out soon, and will include this fix.
Fixes #7089
On Windows, ESM loader only accept a valid
file://URLs when it's a absolute path.So add
file://prefix and replace\to '/' to make it a valid URL.