We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81ce767 commit 4a68538Copy full SHA for 4a68538
1 file changed
src/index.ts
@@ -924,9 +924,8 @@ async function runDocsCommand(
924
let tempDir: string | null = null;
925
926
try {
927
- const result = await cloneRepo(repoInfo.url, opts.branch || undefined);
928
- repoPath = result.path;
929
- tempDir = result.path;
+ repoPath = await cloneRepo(repoInfo, process.cwd(), opts.branch || undefined);
+ tempDir = repoPath;
930
} catch (error) {
931
console.error(chalk.red(`❌ Failed to clone repository: ${error}`));
932
process.exit(1);
0 commit comments