You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we recommend forward-slash UNC paths like //?/C:/Path/To/File.txt for Windows paths. Personally I think that's the better cross platform technique, but I know it's not for everyone. Fully supporting non-UNC Windows paths is still a TODO in the WASI implementation.
This logic is not correct on Windows, as
nodejs
does not support drive letters starting with//
or\\\\
jco/packages/preview2-shim/lib/nodejs/filesystem.js
Lines 532 to 541 in 46e729c
here
#hostPreopen = '//'
in default case on windows, leads all drive path start with//
.We can use the following code as a quick test:
The text was updated successfully, but these errors were encountered: