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

[+] Add backup to assets

This commit is contained in:
Hykilpikonna 2022-12-23 16:27:17 -05:00
parent abe6b00aa0
commit bb6ffbf436
No known key found for this signature in database
GPG Key ID: 256CD01A41D7FA26

View File

@ -106,7 +106,7 @@ function buildPeoplePages() {
// Copy `people/${dirname}/photos` to `dist/people/${dirname}/`. // Copy `people/${dirname}/photos` to `dist/people/${dirname}/`.
function copyPeopleAssets() { function copyPeopleAssets() {
const PEOPLE_ASSETS = ["photos"]; const PEOPLE_ASSETS = ["photos", "backup"];
for (const { srcPath, distPath } of people) { for (const { srcPath, distPath } of people) {
fs.ensureDirSync(distPath); fs.ensureDirSync(distPath);