mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 Fix issue on translation management script
This commit is contained in:
@@ -238,7 +238,7 @@ async function rehash(options, ...other) {
|
||||
entry.comments.reference = val.join(", ");
|
||||
|
||||
const flagData = entry.comments.flag ?? "";
|
||||
const flags = flagData.split(/\s*,\s*/).filter((s) => s !== "");
|
||||
let flags = flagData.split(/\s*,\s*/).filter((s) => s !== "");
|
||||
|
||||
if (flags.includes("unused")) {
|
||||
flags = flags.filter((o) => o !== "unused");
|
||||
|
||||
Reference in New Issue
Block a user