Skip to content

Commit

Permalink
Remove unnecessal options
Browse files Browse the repository at this point in the history
`recursive` of `mkdir` is true in default
  • Loading branch information
lambdalisue committed Oct 10, 2023
1 parent edc053f commit 5957f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/download.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export async function download(
}
const dst = join(path || name, relative(name, blob.name));
core.info(`Downloading ${blob.name} to ${dst} ...`);
await fs.mkdir(dirname(dst), { recursive: true });
await fs.mkdir(dirname(dst));
const blockClient = containerClient.getBlockBlobClient(blob.name);
await blockClient.downloadToFile(dst);
}
Expand Down

0 comments on commit 5957f3c

Please sign in to comment.