Skip to content

Commit

Permalink
refactor: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
joshcanhelp committed Dec 15, 2023
1 parent daa97c2 commit 4b6b572
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ export const getConfiguration = (): Configuration => {
}

if (typeof mergedConfig.outputFile === "object") {
let reportYear = (new Date().getFullYear()).toString();
let reportYear = new Date().getFullYear().toString();
if (year) {
reportYear = (year as string);
reportYear = year as string;
} else if (date) {
reportYear = (date as string).split("-")[0];
}
Expand Down

0 comments on commit 4b6b572

Please sign in to comment.