mirror of
https://github.com/tcgdex/compiler.git
synced 2025-07-03 12:19:18 +00:00
Updated compiler and trying to make ci work again
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
@ -16,7 +16,6 @@ const bootstrap = async () => {
|
||||
el = el.replace("./", "../../")
|
||||
const card: Card = require(el).default
|
||||
|
||||
console.log(el)
|
||||
if (!isCardAvailable(card, lang)) continue
|
||||
items.push(
|
||||
cardToCardSimple(card, lang)
|
||||
|
@ -10,12 +10,10 @@ const endpoint = getBaseFolder(lang, "cards")
|
||||
|
||||
const bootstrap = async () => {
|
||||
const list = await getAllCards2()
|
||||
console.log(list)
|
||||
for (let el of list) {
|
||||
el = el.replace("./", "../../")
|
||||
const card: Card = require(el).default
|
||||
|
||||
console.log(el)
|
||||
if (!isCardAvailable(card, lang)) continue
|
||||
|
||||
await fs.mkdir(`${endpoint}/${card.id}/`, {recursive: true})
|
||||
|
Reference in New Issue
Block a user