Logo
Explore Help
Sign In
martials/sparebank1_actual_budget_integration
1
0
Fork 0
You've already forked sparebank1_actual_budget_integration
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
080b65854d115e3ad0dc9149699eb6b22c55e068
sparebank1_actual_budget_in…/src/fs.ts

10 lines
274 B
TypeScript
Raw Normal View History

🚀 Daily is now Bank agnostic - Separated createDir into a new file fs.ts - Moved mapTransactions into Bank interface - Take interval as input into importTransactions
2025-02-06 18:56:51 +01:00
import * as fs from "node:fs"
🧹 Moved Sb1 API to separate workspace and created common workspace - Created common workspace - Create Sparebank1Api workspace - Moved logger to common - Moved SB1 types to types.ts - Logger will avoid duplicating first line when capturing console.logs - Updated imports and added type keyword - Added nonUniqueId type
2025-02-09 12:35:08 +01:00
import logger from "@common/logger"
🚀 Daily is now Bank agnostic - Separated createDir into a new file fs.ts - Moved mapTransactions into Bank interface - Take interval as input into importTransactions
2025-02-06 18:56:51 +01:00
export function createDirIfMissing(directory: string): void {
if (!fs.existsSync(directory)) {
logger.info(`Missing '${directory}', creating...`)
fs.mkdirSync(directory, { recursive: true })
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.0 Page: 67ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API