fixed padding

This commit is contained in:
2022-06-06 21:17:59 -05:00
parent f4a67f2d1a
commit daaaf1c405

View File

@@ -73,7 +73,7 @@ ${(Object.keys(meta) as Array<keyof UserDataMetaFull>)
key in keyConversion key in keyConversion
? keyConversion[key as keyof typeof keyConversion] ? keyConversion[key as keyof typeof keyConversion]
: key : key
key_str = key_str.padStart(12, ' ') key_str = key_str.padEnd(12, ' ')
if (typeof val === 'boolean') { if (typeof val === 'boolean') {
if (val) return `// @${key_str}` if (val) return `// @${key_str}`