File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -431,7 +431,7 @@ func buildVSCodeWorkspaceDevContainerLink(
431
431
containerName string ,
432
432
containerFolder string ,
433
433
) (* url.URL , url.Values ) {
434
- containerFolder = windowsToUnixPath (containerFolder )
434
+ containerFolder = filepath . ToSlash (containerFolder )
435
435
436
436
qp := url.Values {}
437
437
qp .Add ("url" , clientURL )
@@ -525,10 +525,6 @@ func unixToWindowsPath(p string) string {
525
525
return strings .ReplaceAll (p , "/" , "\\ " )
526
526
}
527
527
528
- func windowsToUnixPath (p string ) string {
529
- return strings .ReplaceAll (p , "\\ " , "/" )
530
- }
531
-
532
528
// resolveAgentAbsPath resolves the absolute path to a file or directory in the
533
529
// workspace. If the path is relative, it will be resolved relative to the
534
530
// workspace's expanded directory. If the path is absolute, it will be returned
You can’t perform that action at this time.
0 commit comments