From d46470c75a71bc89efc673597d88e516e04c6726 Mon Sep 17 00:00:00 2001 From: JeelRajodiya Date: Tue, 31 Dec 2024 13:40:38 +0530 Subject: [PATCH] refactor: add return type Promise to buildFinanceInfoList function for better clarity --- scripts/finance/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/finance/index.ts b/scripts/finance/index.ts index fdec87a2c466..1867dd45ecc8 100644 --- a/scripts/finance/index.ts +++ b/scripts/finance/index.ts @@ -18,7 +18,7 @@ export default async function buildFinanceInfoList({ financeDir, year, jsonDataDir -}: BuildFinanceInfoListProps) { +}: BuildFinanceInfoListProps): Promise { try { const expensesPath = resolve(currentDir, configDir, financeDir, year, 'Expenses.yml'); const expensesLinkPath = resolve(currentDir, configDir, financeDir, year, 'ExpensesLink.yml');