Skip to content

Differences in path to files between Linux and Windows systems #71

Open
@Ja-rek

Description

@Ja-rek

The function does not account for differences in addresses between Linux and Windows systems.

This causes an error:
Screenshot 2025-01-14 215010

here is the problem
image

Problem is because parameter "..." can be with wrong separators:

local function debugger_entrypoint(debugger_path)
	return M.join_paths(debugger_path, "out/src/vsDebugServer.js"<--- separators in this string will be always with invalid slashes)
end

This way should be ok:
M.join_paths(debugger_path, "out", "src", "vsDebugServer.js")

Can someone fix it? I'm not best in Lua...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions