Correction to checkout logic (#3)

Whoops :P
Reviewed-on: #3
Co-authored-by: Jack Jackson <scubbojj@gmail.com>
Co-committed-by: Jack Jackson <scubbojj@gmail.com>
This commit is contained in:
Jack Jackson 2025-03-04 01:49:13 +00:00 committed by scubbo
parent a97fefc99d
commit 9735b49e43
7 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -25659,7 +25659,7 @@ const child_process_1 = __nccwpck_require__(5317);
const fs_1 = __nccwpck_require__(9896);
const date_fns_1 = __nccwpck_require__(4367);
function gitClone(dir, url) {
(0, child_process_1.execSync)(`git clone ${url} ${dir}`, { cwd: dir });
(0, child_process_1.execSync)(`git clone ${url}`, { cwd: dir });
}
function getNLatestCommits(dir, n) {
const logOutput = (0, child_process_1.execSync)(

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -6,7 +6,7 @@ import { mkdirSync } from "fs";
import { format } from 'date-fns';
export function gitClone(dir: string, url: string) {
execSync(`git clone ${url} ${dir}`, { cwd: dir });
execSync(`git clone ${url}`, { cwd: dir });
}
export function getNLatestCommits(dir: string, n: number): Commit[] {