X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=typedoc.mjs;h=86f160da4960b68f9ec2c39a5b053ae14354372a;hb=HEAD;hp=b9f9cc9911f02ba4db340b427d32da9b244239d4;hpb=fef029a52aacd3063ba882834ce58527600009ca;p=poolifier.git diff --git a/typedoc.mjs b/typedoc.mjs index b9f9cc99..cc33cb68 100644 --- a/typedoc.mjs +++ b/typedoc.mjs @@ -1,11 +1,11 @@ +import { execSync } from 'node:child_process' import { copyFileSync, mkdirSync, readdirSync, rmSync } from 'node:fs' import { dirname, join } from 'node:path' import { fileURLToPath } from 'node:url' -import { execSync } from 'node:child_process' try { mkdirSync(join(dirname(fileURLToPath(import.meta.url)), 'tmp'), { - recursive: true + recursive: true, }) const markdownFiles = readdirSync( join(dirname(fileURLToPath(import.meta.url)), 'docs') @@ -25,7 +25,7 @@ try { } rmSync(join(dirname(fileURLToPath(import.meta.url)), 'tmp'), { recursive: true, - force: true + force: true, }) } catch (e) { console.error(e)