From 08c35925931b6ef83715817f10420df8eb319fdc Mon Sep 17 00:00:00 2001 From: "James P." Date: Thu, 23 May 2024 14:41:56 -0500 Subject: [PATCH] Fixed incorrect `join` --- src/access.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/access.ts b/src/access.ts index c978174..5d7a82f 100644 --- a/src/access.ts +++ b/src/access.ts @@ -167,11 +167,11 @@ export class WebAccessFS extends Async(FileSystem) { if (!(handle instanceof FileSystemDirectoryHandle)) { throw ErrnoError.With('ENOTDIR', path, 'readdir'); } - const _keys: string[] = []; + const keys: string[] = []; for await (const key of handle.keys()) { - _keys.push(join(path, key)); + keys.push(key); } - return _keys; + return keys; } protected async getHandle(path: string): Promise {