fix: process-messages script not working when hidden file is auto-created (#11857)

e.g. .DS_Store on macos
pull/11895/head
BlueGreenMagick 4 months ago committed by GitHub
parent 5a37d12c99
commit 7ce6868502
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -9,6 +9,8 @@ const messages = {};
const seen = new Set();
for (const category of fs.readdirSync('messages')) {
if (category.startsWith('.')) continue;
messages[category] = {};
for (const file of fs.readdirSync(`messages/${category}`)) {

Loading…
Cancel
Save