Correction to checkout logic
This commit is contained in:
parent
a97fefc99d
commit
8716a133a5
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -25659,7 +25659,7 @@ const child_process_1 = __nccwpck_require__(5317);
|
|||||||
const fs_1 = __nccwpck_require__(9896);
|
const fs_1 = __nccwpck_require__(9896);
|
||||||
const date_fns_1 = __nccwpck_require__(4367);
|
const date_fns_1 = __nccwpck_require__(4367);
|
||||||
function gitClone(dir, url) {
|
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) {
|
function getNLatestCommits(dir, n) {
|
||||||
const logOutput = (0, child_process_1.execSync)(
|
const logOutput = (0, child_process_1.execSync)(
|
||||||
|
BIN
node_modules/@vercel/ncc/dist/ncc/cli.js.cache
generated
vendored
BIN
node_modules/@vercel/ncc/dist/ncc/cli.js.cache
generated
vendored
Binary file not shown.
BIN
node_modules/@vercel/ncc/dist/ncc/index.js.cache
generated
vendored
BIN
node_modules/@vercel/ncc/dist/ncc/index.js.cache
generated
vendored
Binary file not shown.
BIN
node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache
generated
vendored
BIN
node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache
generated
vendored
Binary file not shown.
BIN
node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache
generated
vendored
BIN
node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache
generated
vendored
Binary file not shown.
BIN
node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache
generated
vendored
BIN
node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache
generated
vendored
Binary file not shown.
@ -6,7 +6,7 @@ import { mkdirSync } from "fs";
|
|||||||
import { format } from 'date-fns';
|
import { format } from 'date-fns';
|
||||||
|
|
||||||
export function gitClone(dir: string, url: string) {
|
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[] {
|
export function getNLatestCommits(dir: string, n: number): Commit[] {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user