More debug logging

This commit is contained in:
Jack Jackson 2025-03-05 18:03:03 -08:00
parent 60d55e0204
commit cafe1d9caf
7 changed files with 4 additions and 0 deletions

2
dist/index.js vendored
View File

@ -25712,6 +25712,8 @@ function getCommitsSinceLatestBeforeGivenDate(dir, date) {
});
}
catch (e) {
// Just in case the error is not an `ExecSyncError` - print it out so we can see what it is.
console.log(e);
const error = e;
// No commits in the target repo - return an empty array, which will result in the first representative commit
// being made as the first commit. And then we can iterate as normal (recalling that the target history is

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -67,6 +67,8 @@ export function getCommitsSinceLatestBeforeGivenDate(dir: string, date: Date): C
}
});
} catch (e) {
// Just in case the error is not an `ExecSyncError` - print it out so we can see what it is.
console.log(e);
const error = e as ExecSyncError
// No commits in the target repo - return an empty array, which will result in the first representative commit
// being made as the first commit. And then we can iterate as normal (recalling that the target history is