mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-06-15 17:09:19 +00:00
feat: Add an updated field to the card field (#460)
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
import { promises as fs } from 'fs'
|
||||
import { SupportedLanguages } from '../../interfaces'
|
||||
import { FileFunction } from './compilerInterfaces'
|
||||
import { fetchRemoteFile } from './utils/util'
|
||||
import { fetchRemoteFile, loadLastEdits } from './utils/util'
|
||||
|
||||
const LANGS: Array<SupportedLanguages> = ['en', 'fr', 'es', 'it', 'pt', 'de']
|
||||
|
||||
@ -20,6 +20,8 @@ const DIST_FOLDER = './generated'
|
||||
await fs.rm(DIST_FOLDER, {recursive: true})
|
||||
} catch {}
|
||||
|
||||
console.log('Loading files last edit')
|
||||
await loadLastEdits()
|
||||
|
||||
console.log('Let\'s GO !')
|
||||
|
||||
|
Reference in New Issue
Block a user