1
0
mirror of https://github.com/one-among-us/data.git synced 2024-11-10 13:24:50 +08:00

[F] Fix build

This commit is contained in:
Elihuso Quigley 2024-03-31 09:30:57 +08:00
parent bc7f6395d4
commit 8730663dbc

View File

@ -207,6 +207,8 @@ function copyComments() {
info.comments.forEach((c) => (c.content = autocorrect.format(c.content))); info.comments.forEach((c) => (c.content = autocorrect.format(c.content)));
fs.ensureDirSync(distPath); fs.ensureDirSync(distPath);
fs.writeFileSync(path.join(distPath, "info.json"), JSON.stringify(info)); fs.writeFileSync(path.join(distPath, "info.json"), JSON.stringify(info));
fs.writeFileSync(path.join(distPath, "info.en.json"), JSON.stringify(info));
fs.writeFileSync(path.join(distPath, "info.zh_hant.json"), JSON.stringify(info));
} }
} }