Skip to content

Commit

Permalink
chore: remove unused array (#989)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Feb 13, 2024
1 parent 96f0267 commit d822e45
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/volume.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1488,8 +1488,6 @@ export class Volume implements FsCallbackApi, FsSynchronousApi {

if (options.withFileTypes) return list;

const ret: TDataOut[] = [];

return list.map(dirent => {
if (options.recursive) {
return dirent.path.replace(filename + pathModule.sep, '');
Expand Down

0 comments on commit d822e45

Please sign in to comment.