diff --git a/dist/index.js b/dist/index.js index cbf0337..b2cacf3 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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 diff --git a/node_modules/@vercel/ncc/dist/ncc/cli.js.cache b/node_modules/@vercel/ncc/dist/ncc/cli.js.cache index 7448989..7fa277c 100644 Binary files a/node_modules/@vercel/ncc/dist/ncc/cli.js.cache and b/node_modules/@vercel/ncc/dist/ncc/cli.js.cache differ diff --git a/node_modules/@vercel/ncc/dist/ncc/index.js.cache b/node_modules/@vercel/ncc/dist/ncc/index.js.cache index e2c1e43..45ee7e9 100644 Binary files a/node_modules/@vercel/ncc/dist/ncc/index.js.cache and b/node_modules/@vercel/ncc/dist/ncc/index.js.cache differ diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache index 8763812..9d91fa8 100644 Binary files a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache and b/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache differ diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache index a92a29c..afd0cb7 100644 Binary files a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache and b/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache differ diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache index bf7809c..e0d2380 100644 Binary files a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache and b/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache differ diff --git a/src/git.ts b/src/git.ts index cd375f5..da977be 100644 --- a/src/git.ts +++ b/src/git.ts @@ -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