Skip to content

Commit 454662d

Browse files
bas-iemrcjkb
andauthored
Use joinpath
Co-authored-by: Marc Jakobi <[email protected]>
1 parent 7b0f91b commit 454662d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/rustaceanvim/dap.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ local init_commands = {}
114114
local function get_lldb_commands()
115115
get_rustc_sysroot(function(rustc_sysroot)
116116
local script_import = 'command script import "' .. compat.joinpath(rustc_sysroot, 'lib', 'rustlib', 'etc', 'lldb_lookup.py') .. '"'
117-
local commands_file = rustc_sysroot .. '/lib/rustlib/etc/lldb_commands'
117+
local commands_file = compat.joinpath(rustc_sysroot, 'lib', 'rustlib', 'etc', 'lldb_commands')
118118
local file = io.open(commands_file, 'r')
119119
if file then
120120
for line in file:lines() do

0 commit comments

Comments
 (0)