fix: do not ignore tag

This commit is contained in:
monoid 2025-05-10 22:37:28 +09:00
parent fb50ff1c08
commit c26c3f7235

View file

@ -20,6 +20,7 @@ export function classifyTags(tags: string[]): TagClassifyResult {
for (const tag of tags) { for (const tag of tags) {
const split = tag.split(":"); const split = tag.split(":");
if (split.length !== 2) { if (split.length !== 2) {
result.rest.push(tag);
continue; continue;
} }
const [prefix, name] = split; const [prefix, name] = split;