1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-19 11:39:36 +02:00

Changed initial files creation process

This commit is contained in:
unknown 2021-10-06 14:17:31 +02:00
parent 591824dd0c
commit 459523dfd2
9 changed files with 109 additions and 38 deletions

8
utils/init/initFiles.js Normal file
View file

@ -0,0 +1,8 @@
const createFile = require('./createFile');
const { files } = require('./initialFiles.json');
const initFiles = async () => {
files.forEach(async (file) => await createFile(file));
};
module.exports = initFiles;