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
Lots of methods which accept a path first test if the path is relative, and if it is, they clean it up and convert it to an abspath. This should be a standard VFS method. The pattern that's being used at the moment is something like:
if(this.vfs.PathIsRelative(filepath)){filepath=path.replace(/^C:/i,"");// get_env("path") returns the process CWD.filepath=win32path.join(this.ctx.get_env("path"),filepath);}
To find examples, search for any method calls to vfs.PathIsRelative().
The text was updated successfully, but these errors were encountered:
Lots of methods which accept a path first test if the path is relative, and if it is, they clean it up and convert it to an abspath. This should be a standard VFS method. The pattern that's being used at the moment is something like:
To find examples, search for any method calls to
vfs.PathIsRelative()
.The text was updated successfully, but these errors were encountered: