Skip to content

Commit 06546bf

Browse files
committed
yml: what even is it?
1 parent 61fd753 commit 06546bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs-viewer/src/preview-docs.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ async function cloneRepo(details: ReturnType<typeof repoDetails>) {
104104

105105
// if the clone fails for publicKey we try https
106106
if (exitCode !== 0) {
107-
const reason = await new Response(proc.stdout).text();
107+
const reason = await new Response(proc.stderr).text();
108108
if (reason.includes('publickey')) {
109109
log(`Cloning ${chalk.green(details.repoPath)} to ${chalk.green(relativePath)} using https`);
110110
const proc2 = Bun.spawn(['git', 'clone', details.httpsUrl, relativePath, '--depth=1'], {

0 commit comments

Comments
 (0)