Skip to content

Commit

Permalink
Merge branch 'next' into use-basic-reporter-for-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT authored Jan 22, 2023
2 parents d6ad134 + ee94f3e commit 132b3eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/git/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export class GitModule {
refDate?: string | Date | number;
} = {}
): string {
const { refDate } = options;
const { refDate = new Date() } = options;

const dateParts = GIT_DATE_FORMAT_BASE.format(
this.faker.date.recent({ days: 1, refDate })
Expand Down

0 comments on commit 132b3eb

Please sign in to comment.