More debugging lines
This commit is contained in:
parent
a6ace8f4c6
commit
05aa726283
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -25854,6 +25854,7 @@ async function main(sourceRepo, targetRepo, dryRun, tokenForTargetRepo) {
|
||||
return;
|
||||
}
|
||||
function buildSourceCommitHistory(path, numCommits) {
|
||||
console.log(`DEBUG - building source commit history for ${path} with max count ${numCommits}`);
|
||||
const output = [];
|
||||
const logOutput = (0, child_process_1.execSync)(
|
||||
// If you want to copy this formatting for debugging, it's:
|
||||
@ -25868,6 +25869,7 @@ function buildSourceCommitHistory(path, numCommits) {
|
||||
return output;
|
||||
}
|
||||
function buildTargetCommitHistory(path, oldestDateInSourceCommitHistory) {
|
||||
console.log(`DEBUG - building target commit history for ${path} with oldest date ${oldestDateInSourceCommitHistory.toISOString()}`);
|
||||
const output = [];
|
||||
try {
|
||||
const countingLogOutput = (0, child_process_1.execSync)(`git log --since=${oldestDateInSourceCommitHistory.toISOString()} --pretty=oneline`, { cwd: path });
|
||||
|
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.
@ -129,6 +129,7 @@ export async function main(sourceRepo: Repo, targetRepo: Repo, dryRun: boolean,
|
||||
}
|
||||
|
||||
export function buildSourceCommitHistory(path: string, numCommits: number): Commit[] {
|
||||
console.log(`DEBUG - building source commit history for ${path} with max count ${numCommits}`);
|
||||
const output: Commit[] = [];
|
||||
|
||||
const logOutput = execSync(
|
||||
@ -148,6 +149,7 @@ export function buildSourceCommitHistory(path: string, numCommits: number): Comm
|
||||
}
|
||||
|
||||
export function buildTargetCommitHistory(path: string, oldestDateInSourceCommitHistory: Date): Commit[] {
|
||||
console.log(`DEBUG - building target commit history for ${path} with oldest date ${oldestDateInSourceCommitHistory.toISOString()}`);
|
||||
const output: Commit[] = [];
|
||||
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user