mirror of
https://github.com/one-among-us/data.git
synced 2024-11-26 04:57:38 +08:00
[F] Fix build
This commit is contained in:
parent
bc7f6395d4
commit
8730663dbc
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user