Closed gmartina closed 3 months ago
thanks for that!
Using the 6.0.1 build as of May 28th still saves single backward slahes in project files. Either the fix is not active in this build or it is not sufficient to replace double backslashes with a forward slash?!
Is there anything I can do to support solving this issue?
@gmartina should we use new_files[i].name = new_files[i].name.replace(/\\/g, '/');
instead of new_files[i].name = new_files[i].name.replace("\\", '/');
?
@grunora can you put your project example that it's failing?
I have attached four project files:
@gmartina should we use
new_files[i].name = new_files[i].name.replace(/\\/g, '/');
instead ofnew_files[i].name = new_files[i].name.replace("\\", '/');
?@grunora can you put your project example that it's failing?
Yes, thanks. I already did a new PR and tested it with the files @grunora provided.
… When double back slash is saved into a file the first one is working as a scape char resulting in one back slash in the relative path unabling to load the project again. This is solved by replacing double back slash with forward slash. Example of yaml project file saved in Windows: Before:
After: