Skip to content

Commit 8ae74a2

Browse files
committed
complement / if needed for local_fs_map.
1 parent 92d81c6 commit 8ae74a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/debug/server_dap.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def self.local_fs_map_set map
114114

115115
case map
116116
when String
117-
@local_fs_map = map.split(',').map{|e| e.split(':')}
117+
@local_fs_map = map.split(',').map{|e| e.split(':').map{|path| path.delete_suffix('/') + '/'}}
118118
when true
119119
@local_fs_map = map
120120
when nil

0 commit comments

Comments
 (0)