Skip to content

Commit fa3c7b2

Browse files
committed
Add recursive option to mkdirSync
1 parent 50db437 commit fa3c7b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/autify/connect/installClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export const installClient = async (
170170
// Clean up workspace in case something is left by previous command.
171171
if (existsSync(workspaceDir))
172172
rmSync(workspaceDir, { recursive: true, force: true });
173-
mkdirSync(workspaceDir);
173+
mkdirSync(workspaceDir, { recursive: true });
174174
const downloadPath = await download(workspaceDir, url);
175175
const extractPath = await extract(downloadPath);
176176
// Pre-install validation

0 commit comments

Comments
 (0)