0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 23:31:21 -05:00

🐛 Fix validate translations script

This commit is contained in:
Alejandro Alonso 2024-04-24 13:42:05 +02:00
parent 6fbdc4ff07
commit 0be97e1c44

View file

@ -1,7 +1,7 @@
const fs = require('fs').promises; import {promises as fs} from 'fs';
const gt = require("gettext-parser"); import gt from 'gettext-parser';
const l = require("lodash"); import l from 'lodash';
const path = require('path'); import path from 'path';
async function* getFiles(dir) { async function* getFiles(dir) {
const dirents = await fs.readdir(dir, { withFileTypes: true }); const dirents = await fs.readdir(dir, { withFileTypes: true });