📝 Do not erase doc file

This commit is contained in:
DevAndromeda 2022-07-19 20:54:23 +05:45
parent 287981933e
commit 122e097671

View file

@ -1,11 +1,8 @@
/* eslint-disable */
const { runGenerator } = require("@discordjs/ts-docgen");
const fs = require("node:fs");
runGenerator({
existingOutput: "docs/typedoc.json",
custom: "docs/config.yml",
output: "docs/docs.json"
});
fs.unlinkSync(`${__dirname}/../docs/typedoc.json`);
});