Skip to content

Commit

Permalink
refactor: add return type Promise<void> to buildFinanceInfoList funct…
Browse files Browse the repository at this point in the history
…ion for better clarity
  • Loading branch information
JeelRajodiya committed Dec 31, 2024
1 parent 912f64b commit d46470c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/finance/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default async function buildFinanceInfoList({
financeDir,
year,
jsonDataDir
}: BuildFinanceInfoListProps) {
}: BuildFinanceInfoListProps): Promise<void> {
try {
const expensesPath = resolve(currentDir, configDir, financeDir, year, 'Expenses.yml');
const expensesLinkPath = resolve(currentDir, configDir, financeDir, year, 'ExpensesLink.yml');
Expand Down

0 comments on commit d46470c

Please sign in to comment.