micro icon indicating copy to clipboard operation
micro copied to clipboard

Use pathToFileURL to handle windows file path

Open t8g opened this issue 2 years ago • 2 comments

Related to #474

Fix On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'

t8g avatar Jan 14 '23 11:01 t8g

Could you add a test please?

leerob avatar Jan 14 '23 18:01 leerob

The current tests are already failing on windows. And the PR make them pass. But I don't know how to emulate the error on non windows plateform.

t8g avatar Jan 16 '23 13:01 t8g