Merge pull request #3412 from crazy-max/dap-fix-data-path

dap: use slash separator when reading ref files
This commit is contained in:
Jonathan A. Sternberg
2025-09-08 09:42:07 -05:00
committed by GitHub
+1 -1
View File
@@ -203,7 +203,7 @@ func fsVars(ctx context.Context, ref gateway.Reference, path string, vars *varia
Name: file.Path,
}
fullpath := filepath.Join(path, file.Path)
fullpath := filepath.ToSlash(filepath.Join(path, file.Path))
if file.IsDir() {
fv.Name += "/"
fv.VariablesReference = vars.New(func() []dap.Variable {