Skip to content

Commit

Permalink
chore: use new onReadEntry
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Nov 27, 2024
1 parent 3d5d7cf commit d2eb10e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/giget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export async function downloadTemplate(
await extract({
file: tarPath,
cwd: extractPath,
onentry(entry) {
onReadEntry(entry) {
entry.path = entry.path.split("/").splice(1).join("/");
if (subdir) {
// eslint-disable-next-line unicorn/prefer-ternary
Expand Down

0 comments on commit d2eb10e

Please sign in to comment.