Skip to content

Commit

Permalink
feat: tar use new onReadEntry in favor of deprecated onentry fn
Browse files Browse the repository at this point in the history
  • Loading branch information
tada5hi committed Jun 20, 2024
1 parent c2ca2e6 commit 9294bc0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export async function syncMasterImages() : Promise<MasterImagesSyncResponse> {
await extract({
file: tarPath,
cwd: directoryPath,
onentry(entry) {
onReadEntry(entry) {
entry.path = entry.path.split('/').splice(1).join('/');
},
});
Expand Down

0 comments on commit 9294bc0

Please sign in to comment.