chore: remove unused move_section.js file

This commit is contained in:
ZeroZ_JQ 2025-03-18 14:04:06 +08:00
parent 9b311f8196
commit dd060746a1

View File

@ -1 +0,0 @@
const fs = require("fs"); const path = require("path"); const filePath = path.join(process.cwd(), "web/app/(commonLayout)/datasets/template/template.zh.mdx"); let content = fs.readFileSync(filePath, "utf8"); const lines = content.split("\n"); const retrievalSection = lines.slice(1234, 1335).join("\n"); content = lines.slice(0, 1234).concat(lines.slice(1335)).join("\n"); content += "\n\n" + retrievalSection; fs.writeFileSync(filePath, content);