mirror of
https://github.com/penpot/penpot.git
synced 2025-05-31 17:26:18 +02:00
🐛 Fix issue on translation management script
This commit is contained in:
parent
2c683d849d
commit
54bdc83ce4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue