style: format (#2925)

This commit is contained in:
ITOH
2023-04-01 02:46:46 +02:00
committed by GitHub
parent 4d3a2f7665
commit 05fc3fbeba
85 changed files with 670 additions and 828 deletions
+1 -6
View File
@@ -1,9 +1,4 @@
import fs from 'node:fs'
import { argv } from 'node:process'
fs.writeFileSync(
'./coverage/lcov.info',
fs
.readFileSync('./coverage/lcov.info', 'utf-8')
.replace(/SF:src/g, `SF:packages/${argv[2]}/src`)
)
fs.writeFileSync('./coverage/lcov.info', fs.readFileSync('./coverage/lcov.info', 'utf-8').replace(/SF:src/g, `SF:packages/${argv[2]}/src`))
+5 -5
View File
@@ -39,11 +39,11 @@ for await (let filepath of walk(typedocOutPath)) {
// Converts ugly names to clean names for example discordeno_types.ActionRow becomes ActionRow
const cleanForms = [
{ ugly: 'discordeno_bot.md', clean: 'Bot.md'},
{ ugly: 'discordeno_gateway.md', clean: 'Gateway.md'},
{ ugly: 'discordeno_rest.md', clean: 'Rest.md'},
{ ugly: 'discordeno_types.md', clean: 'Types.md'},
{ ugly: 'discordeno_utils.md', clean: 'Utils.md'},
{ ugly: 'discordeno_bot.md', clean: 'Bot.md' },
{ ugly: 'discordeno_gateway.md', clean: 'Gateway.md' },
{ ugly: 'discordeno_rest.md', clean: 'Rest.md' },
{ ugly: 'discordeno_types.md', clean: 'Types.md' },
{ ugly: 'discordeno_utils.md', clean: 'Utils.md' },
{ ugly: 'discordeno_bot.' },
{ ugly: 'discordeno_gateway.' },
{ ugly: 'discordeno_rest.' },