1
0
mirror of synced 2025-12-23 21:07:12 -05:00

Fix render translation test (#24235)

This commit is contained in:
Ryosuke Nakayama
2022-01-12 22:26:58 +09:00
committed by GitHub
parent 917865b2e2
commit e1a64337d3

View File

@@ -67,7 +67,7 @@ async function main() {
// test the content
await renderContent.liquid.parseAndRender(content, context)
// test each translatable frontmatter property
for (const key in translatableFm) {
for (const key of translatableFm) {
await renderContent.liquid.parseAndRender(data[key], context)
}
} catch (err) {