mirror of
https://github.com/penpot/penpot.git
synced 2026-09-13 07:30:24 +00:00
🐛 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(", ");
|
entry.comments.reference = val.join(", ");
|
||||||
|
|
||||||
const flagData = entry.comments.flag ?? "";
|
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")) {
|
if (flags.includes("unused")) {
|
||||||
flags = flags.filter((o) => o !== "unused");
|
flags = flags.filter((o) => o !== "unused");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user