mirror of https://github.com/penpot/penpot.git
🐛 Fix issue on translation management script
This commit is contained in:
parent
2c683d849d
commit
54bdc83ce4
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue