chore: code formatting

This commit is contained in:
github-actions[bot]
2022-09-06 03:38:57 +00:00
parent bb2c219f23
commit c76bff01a3
3 changed files with 12 additions and 11 deletions

View File

@@ -11,7 +11,7 @@ export default async function({login, q, imports, data, account}, {enabled = fal
//Load inputs
const {user, platform, animation} = imports.metadata.plugins.chess.inputs({data, account, q})
for (const [key, defaulted] of Object.entries({size:40, delay:1, duration:4})) {
for (const [key, defaulted] of Object.entries({size: 40, delay: 1, duration: 4})) {
if (Number.isNaN(Number(animation[key])))
animation[key] = defaulted
if (animation[key] < 0)
@@ -45,4 +45,4 @@ export default async function({login, q, imports, data, account}, {enabled = fal
catch (error) {
throw imports.format.error(error)
}
}
}