Skip to content

Commit a273f53

Browse files
ko1ono-max
andcommitted
Update src/extension.ts
Co-authored-by: Naoto Ono <[email protected]>
1 parent 76871c7 commit a273f53

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/extension.ts

+2-5
Original file line numberDiff line numberDiff line change
@@ -448,12 +448,9 @@ class RdbgAdapterDescriptorFactory implements DebugAdapterDescriptorFactory, Ver
448448
}
449449

450450
simplifySockList(list: string[]): string[] {
451-
const simplified = list.map (sock_path => {
452-
sock_path = path.basename(sock_path);
453-
return sock_path;
451+
return list.map (sockPath => {
452+
return path.basename(sockPath);
454453
});
455-
456-
return simplified;
457454
}
458455

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

0 commit comments

Comments
 (0)