Skip to content

Commit

Permalink
chore: 🤖 add todo comment
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
streamich committed Jun 22, 2023
1 parent 7117105 commit 93f909b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/node-to-fsa/NodeFileSystemFileHandle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export class NodeFileSystemFileHandle extends NodeFileSystemHandle implements IF
const path = this.__path;
const promises = this.fs.promises;
const stats = await promises.stat(path);
// TODO: Once implemented, use promises.readAsBlob() instead of promises.readFile().
const data = await promises.readFile(path);
const file = new File([data], this.name, { lastModified: stats.mtime.getTime() });
return file;
Expand Down

0 comments on commit 93f909b

Please sign in to comment.