Skip to content

Commit

Permalink
Add recursive option to mkdirSync
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsmfm committed Sep 2, 2024
1 parent 50db437 commit fa3c7b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autify/connect/installClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export const installClient = async (
// Clean up workspace in case something is left by previous command.
if (existsSync(workspaceDir))
rmSync(workspaceDir, { recursive: true, force: true });
mkdirSync(workspaceDir);
mkdirSync(workspaceDir, { recursive: true });
const downloadPath = await download(workspaceDir, url);
const extractPath = await extract(downloadPath);
// Pre-install validation
Expand Down

0 comments on commit fa3c7b2

Please sign in to comment.