Pass back well-typed Date
This commit is contained in:
parent
cafe1d9caf
commit
b450cf3888
4
dist/index.js
vendored
4
dist/index.js
vendored
@ -25683,7 +25683,7 @@ function getNLatestCommits(dir, n) {
|
||||
author_name: parsed.author_name,
|
||||
author_email: parsed.author_email,
|
||||
repo_path: dir,
|
||||
date: parsed.date,
|
||||
date: new Date(parsed.date),
|
||||
message: parsed.message
|
||||
};
|
||||
});
|
||||
@ -25706,7 +25706,7 @@ function getCommitsSinceLatestBeforeGivenDate(dir, date) {
|
||||
author_name: parsed.author_name,
|
||||
author_email: parsed.author_email,
|
||||
repo_path: dir,
|
||||
date: parsed.date,
|
||||
date: new Date(parsed.date),
|
||||
message: parsed.message
|
||||
};
|
||||
});
|
||||
|
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.
@ -33,7 +33,7 @@ export function getNLatestCommits(dir: string, n: number): Commit[] {
|
||||
author_name: parsed.author_name,
|
||||
author_email: parsed.author_email,
|
||||
repo_path: dir,
|
||||
date: parsed.date,
|
||||
date: new Date(parsed.date),
|
||||
message: parsed.message
|
||||
}
|
||||
});
|
||||
@ -62,7 +62,7 @@ export function getCommitsSinceLatestBeforeGivenDate(dir: string, date: Date): C
|
||||
author_name: parsed.author_name,
|
||||
author_email: parsed.author_email,
|
||||
repo_path: dir,
|
||||
date: parsed.date,
|
||||
date: new Date(parsed.date),
|
||||
message: parsed.message
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user