Skip to content

Commit

Permalink
Update src/extension.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Naoto Ono <[email protected]>
  • Loading branch information
ko1 and ono-max committed Dec 25, 2023
1 parent 76871c7 commit a273f53
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -448,12 +448,9 @@ class RdbgAdapterDescriptorFactory implements DebugAdapterDescriptorFactory, Ver
}

simplifySockList(list: string[]): string[] {
const simplified = list.map (sock_path => {
sock_path = path.basename(sock_path);
return sock_path;
return list.map (sockPath => {
return path.basename(sockPath);
});

return simplified;
}

async attach(session: DebugSession): Promise<DebugAdapterDescriptor> {
Expand Down

0 comments on commit a273f53

Please sign in to comment.