0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-10 23:01:39 -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;
const gt = require("gettext-parser");
const l = require("lodash");
const path = require('path');
import {promises as fs} from 'fs';
import gt from 'gettext-parser';
import l from 'lodash';
import path from 'path';
async function* getFiles(dir) {
const dirents = await fs.readdir(dir, { withFileTypes: true });