chore: modify object custom-tag check

This commit is contained in:
Tom Keller 2026-05-06 15:20:58 -07:00
commit dd34ee9442

View file

@ -103,7 +103,7 @@ export function parseAndValidateCustomTags(customTags: string, existingTags: Tag
const newTags: Tag[] = [];
for (const [key, value] of Object.entries(parsed)) {
if (typeof value === 'object' && value !== null) {
if (typeof value === 'object') {
throw new Error(
`custom-tags: value for key '${key}' must be a string, number, or boolean (not an object or array)`,
);