diff --git a/src/decode.ts b/src/decode.ts index 477fdf1..31e7a9d 100644 --- a/src/decode.ts +++ b/src/decode.ts @@ -41,7 +41,7 @@ export function decode< return (object[key] = isArray ? [] : {}); } - // Otherwise, if it is not an emty file, add value + // Otherwise, if it is not an empty file, add value if ( !info?.files?.includes(templateName) || (value && (typeof value === 'string' || value.size))