Skip to content

Commit

Permalink
fix(cli): add missing fullPath
Browse files Browse the repository at this point in the history
  • Loading branch information
strogonoff committed Dec 18, 2023
1 parent ae65a87 commit e8f4da9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/cli/src/fs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ export async function * fsPathToFiles(absPath: string) {
const file: File = {
blob: Uint8Array.from(await fs.readFile(filepath)),
name: filepath,
// Workaround; fullPath should be dataset-relative
// but we don’t have dataset root here.
fullPath: filepath,
};
yield file;
}
Expand Down

0 comments on commit e8f4da9

Please sign in to comment.