Skip to content

Commit

Permalink
chore(docs): fix typedoc cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ndom91 committed Apr 29, 2024
1 parent 0f442c3 commit c84603c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/typedoc-nextauth.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function writeMetaJsFiles(app) {

// Rename generated 'next-auth' dir to 'nextjs'
if (new RegExp(".*docs/pages/reference/nextjs$").test(outputDirectory)) {
if (fs.statSync('./pages/reference/nextjs')) {
if (fs.existsSync('./pages/reference/nextjs')) {
fs.rmdirSync('./pages/reference/nextjs', { recursive: true })
}
fs.renameSync('./pages/reference/next-auth', './pages/reference/nextjs')
Expand Down

0 comments on commit c84603c

Please sign in to comment.