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:
parent
6fbdc4ff07
commit
0be97e1c44
1 changed files with 4 additions and 4 deletions
|
@ -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 });
|
||||||
|
|
Loading…
Add table
Reference in a new issue