mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 Fix validate translations script
This commit is contained in:
@@ -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 });
|
||||||
|
|||||||
Reference in New Issue
Block a user